-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
109 lines (101 loc) · 2.73 KB
/
docker-compose.yaml
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
services:
web:
build:
context: .
dockerfile: Dockerfile.web
env_file:
- src/web/.env
ports:
- "80:80"
web-local:
build:
context: .
dockerfile: Dockerfile.web.local
env_file:
- src/web/.env
ports:
- "$PORT:$PORT"
volumes:
- ./src/web/.env:/home/node/app/.env
- ./src/web/.eslintrc.js:/home/node/app/.eslintrc:js
- ./src/web/nodemon.json:/home/node/app/nodmeon.json
- ./src/web/next-env.d.ts:/home/node/app/next-env.d.ts
- ./src/web/package.json:/home/node/app/package.json
- ./src/web/node_modules:/home/node/app/node_modules
- ./src/web/public:/home/node/app/public
- ./src/web/src:/home/node/app/src
- ./src/core/client:/home/node/app/src/core
mobile-local:
build:
context: .
dockerfile: Dockerfile.mobile.local
env_file:
- src/mobile/.env
ports:
- "$PORT:$PORT"
volumes:
- ./src/mobile/.env:/home/node/app/.env
- ./src/mobile/.eslintrc.js:/home/node/app/.eslintrc.js
- ./src/mobile/next-env.d.ts:/home/node/app/next-env.d.ts
- ./src/mobile/package.json:/home/node/app/package.json
- ./src/mobile/node_modules:/home/node/app/node_modules
- ./src/mobile/public:/home/node/app/public
- ./src/mobile/src:/home/node/app/src
- ./src/core/client:/home/node/app/src/core
api:
build:
context: .
dockerfile: Dockerfile.api
env_file:
- src/server/.env
ports:
- "80:80"
api-local:
build:
context: .
dockerfile: Dockerfile.api.local
env_file:
- src/server/.env
ports:
- "$PORT:$PORT"
volumes:
- ./src/server:/home/node/app
- ./src/server/node_modules:/home/node/app/node_modules
scheduler:
build:
context: .
dockerfile: Dockerfile.scheduler
env_file:
- src/server/.env
environment:
- CHROMIUM_EXECUTABLE_PATH=/usr/bin/google-chrome
scheduler-local:
build:
context: .
dockerfile: Dockerfile.scheduler.local
env_file:
- src/server/.env
environment:
- CHROMIUM_EXECUTABLE_PATH=/usr/bin/google-chrome
volumes:
- ./src/server:/home/node/app
- ./src/server/node_modules:/home/node/app/node_modules
worker:
build:
context: .
dockerfile: Dockerfile.worker
env_file:
- src/server/.env
environment:
- CHROMIUM_EXECUTABLE_PATH=/usr/bin/google-chrome
worker-local:
build:
context: .
dockerfile: Dockerfile.worker.local
env_file:
- src/server/.env
environment:
- CHROMIUM_EXECUTABLE_PATH=/usr/bin/google-chrome
volumes:
- ./src/server:/home/node/app
- ./src/server/node_modules:/home/node/app/node_modules