Quickly setup a Prestashop ready-to-use environment in one command.
To use the prestashop's official container, you need in addition, a MySQL container, and a network that let both last containers to communicate between them. This Docker Compose file let you do those 3 steps in one command.
-
Clone this repo and go inside the created directory
-
If you're using Dotenv file, rename
.env.example
to.env
-
Replace values inside
.env
to match youre need. -
If you're not using Dotenv file, configure Prestashop and MySQL with environment variables inside
docker-compose.yml
. -
You can add addtionnal environment variables for MySQL and Prestashop in
docker-compose.yml
(see theire docs for available one). -
Run bellow command
# Launch an Apache server and MySQL server inside the same network
docker-compose up -d
# Bring down the environment by removing all containers and networks associated with this environment
docker-compose down