forked from PrestaShop/PrestaShop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (34 loc) · 878 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
version: '2'
volumes:
db-data:
vendor:
var:
services:
mysql:
image: mysql:5
ports:
- "3306"
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: prestashop
restart: always
apache:
container_name: prestashop-git
image: prestashop/prestashop-git:7
environment:
PS_INSTALL_AUTO: 1
DB_PASSWD: password
DB_NAME: prestashop
DB_SERVER: mysql
PS_DOMAIN: localhost:8001
PS_FOLDER_INSTALL: install-dev
PS_FOLDER_ADMIN: admin-dev
ports:
- "8001:80"
volumes:
- ./:/var/www/html/:delegated
- vendor:/var/www/html/vendor
- var:/var/www/html/var
restart: always