Skip to content

Instantly share code, notes, and snippets.

@jokesterfr
Created July 27, 2020 08:34
Show Gist options
  • Save jokesterfr/22c469bfcc14c5b03c1398a682e5594e to your computer and use it in GitHub Desktop.
Save jokesterfr/22c469bfcc14c5b03c1398a682e5594e to your computer and use it in GitHub Desktop.
A prestashop 1.7 simple docker-compose
version: '3.7'
services:
prestashop:
image: prestashop/prestashop:1.7
container_name: prestashop
depends_on:
- mysql
networks:
- prestashop_net
environment:
- DB_SERVER=mysql
- PS_DEMO_MODE=1
- PS_INSTALL_AUTO=1
- PS_ERASE_DB=1
- PS_DOMAIN=localhost:8080
ports:
- 8080:80
mysql:
image: mysql:5.7
container_name: prestashop_mysql
networks:
- prestashop_net
expose:
- 3306
environment:
- MYSQL_ROOT_PASSWORD=admin
networks:
prestashop_net:
name: prestashop_net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment