-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.yml
68 lines (66 loc) · 1.61 KB
/
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: '3'
services:
web-postgres:
container_name: web-postgres
build:
context: ./postgres/
ports:
- "5433:5432"
volumes:
- postgres:/var/lib/postgresql/data
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
networks:
- app-net
redis:
container_name: redis
image: redis
ports:
- "6379:6379"
networks:
- app-net
gamechanger-web-node:
container_name: gamechanger-web-node
build:
context: ./backend/
args:
MIGRATION_HOST: web-postgres
restart: unless-stopped
environment:
- CHOKIDAR_USEPOLLING=true
ports:
# - "5860:5860"
- "8990:8990"
- "9229:9229"
volumes:
- ./backend/:/usr/src/app/
- /usr/src/app/node_modules
depends_on:
- web-postgres
- redis
# - elasticsearch
networks:
- app-net
gamechanger-web-react:
container_name: gamechanger-web-react
build:
context: ./frontend/
ports:
- "8080:8080"
restart: unless-stopped
environment:
- CHOKIDAR_USEPOLLING=true
volumes:
- ./frontend/:/usr/src/app/
- /usr/src/app/node_modules
depends_on:
- gamechanger-web-node
networks:
- app-net
networks:
app-net:
name: "${COMPOSE_PROJECT_NAME:-gc-dev}-network"
volumes:
postgres:
mysql:
matomo: