-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.combo.yml
55 lines (53 loc) · 1.39 KB
/
docker-compose.combo.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
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:
container_name: gamechanger-web
build:
context: .
dockerfile: Dockerfile.prod
args:
MIGRATION_HOST: postgres
environment:
- POSTGRES_HOST_GAME_CHANGER=web-postgres
- POSTGRES_USER_GAME_CHANGER=postgres
- POSTGRES_PASSWORD_GAME_CHANGER=password
- POSTGRES_HOST_GC_ORCHESTRATION=web-postgres
- POSTGRES_USER_GC_ORCHESTRATION=postgres
- POSTGRES_PASSWORD_GC_ORCHESTRATION=password
ports:
- "5860:5860"
- "8990:8990"
volumes:
- ./:/usr/app/
# - /usr/app/backend/node_modules
networks:
- app-net
depends_on:
- web-postgres
- redis
networks:
app-net:
name: "${COMPOSE_PROJECT_NAME:-gc-dev}-network"
volumes:
postgres:
mysql:
matomo: