-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
45 lines (42 loc) · 1014 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
37
38
39
40
41
42
43
44
45
version: "3.8"
networks:
soisy-prestashop-net: ~
services:
soisy-prestashop-db:
networks:
- soisy-prestashop-net
image: mysql:5.7
environment:
- MYSQL_ROOT_PASSWORD=admin
ports:
- "3307:3306"
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 20s
retries: 10
soisy-prestashop-app:
networks:
- soisy-prestashop-net
volumes:
- ./src:/var/www/html/modules/soisy
build:
dockerfile: .docker/Dockerfile
context: .
args:
- USER_ID=${USER_ID:-1000}
- GROUP_ID=${GROUP_ID:-1000}
environment:
- MYSQL_ROOT_PASSWORD=admin
- DB_SERVER=soisy-prestashop-db
- PS_DOMAIN=localhost:8282
- PS_FOLDER_INSTALL=install-dev
- PS_FOLDER_ADMIN=admin-dev
- PS_ERASE_DB=1
- PS_INSTALL_DB=1
- PS_INSTALL_AUTO=1
- PS_DEMO_MODE=0
ports:
- "8282:80"
depends_on:
soisy-prestashop-db:
condition: service_healthy