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:

  1. Add a service named prestashop.
  2. Use the image, prestashop/prestashop.
  3. Name the container prestashop.
  4. Add the environmental variable, DB_SERVER, and set its value to mysql.
  5. Map prestashop's default port 80 to 8080.
  6. Enable the restart option to always.
  7. 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.