-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.dev.yml
62 lines (57 loc) · 1.18 KB
/
docker-compose.dev.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
version: '3.8'
services:
node:
build:
context: ./node
args:
NODE_FLAG: $NODE_FLAG
restart: unless-stopped
volumes:
- ./node:/app
- ./media:/app/media
env_file:
- ./env/common.env
- ./env/node.env
- ./env/mariadb.env
environment:
- NODE_ENV=development
web:
image: nginx
restart: unless-stopped
volumes:
- ./media:/var/www/html/media
- ./web/html:/var/www/html
- ./web/templates:/etc/nginx/templates
ports:
- "8080:80"
env_file:
- ./env/common.env
- ./env/nginx.env
db:
image: mariadb
restart: unless-stopped
volumes:
- ./db:/docker-entrypoint-initdb.d
ports:
- "3306:3306"
env_file:
- ./env/common.env
- ./env/mariadb.env
puppeteer:
build: ./puppeteer
restart: unless-stopped
command: "wait-for-it.sh web:80 -- node index.js"
env_file:
- ./env/common.env
- ./env/puppeteer.env
python:
build:
context: ./python
args:
PYTHON_FLAG: $PYTHON_FLAG
restart: unless-stopped
volumes:
- ./python:/app
env_file:
- ./env/common.env
- ./env/python.env