Skip to content

Instantly share code, notes, and snippets.

@jonpontet
Last active January 16, 2022 20:10
Show Gist options
  • Save jonpontet/f82ca436c44208a765da705921ed444c to your computer and use it in GitHub Desktop.
Save jonpontet/f82ca436c44208a765da705921ed444c to your computer and use it in GitHub Desktop.
Docker Compose file for PrestaShop with MySQL
version: '3.3'
services:
db:
build:
context: .
network: prestashop-net
container_name: db
image: mysql:5.7
ports:
- "3307:3306"
environment:
MYSQL_ROOT_PASSWORD: admin
prestashop:
build:
context: .
network: prestashop-net
container_name: prestashop
image: prestashop/prestashop
environment:
DB_SERVER: db
ports:
- "8080:80"
volumes:
- ./modules:/var/www/html/modules
- ./override:/var/www/html/override
- ./themes:/var/www/html/themes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment