Challenge: Run PrestaShop
Test if you can run the PrestaShop.
We'll cover the following
PrestaShop
Follow these instructions while editing the provided docker-compose.yml
:
- Add a service named
prestashop
. - Use the image,
prestashop/prestashop
. - Name the container
prestashop
. - Add the environmental variable,
DB_SERVER
, and set its value tomysql
. - Map
prestashop
's default port80
to8080
. - Enable the
restart
option toalways
. - Add a network named
prestashop-net
.
π Do not forget to indent properly. Click on the βRunβ button when you make any changes and launch Compose using:
docker-compose up -d
Get hands-on with 1400+ tech skills courses.