-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yaml
85 lines (85 loc) · 2.21 KB
/
docker-compose.prod.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
version: '3'
services:
api-gateway:
image: ghcr.io/hu-tao-supremacy/api-gateway-prod:latest
ports:
- 3000:3000
environment:
- PORT=3000
- HTS_SVC_ACCOUNT=account:50055
- HTS_SVC_PARTICIPANT=participant:50056
- HTS_SVC_ORGANIZER=organizer:50057
- HTS_SVC_PERSONALIZATION=personalization:50058
- HTS_SVC_FACILITY=facility:50059
- GCP_CREDENTIALS=
- GCP_BUCKET_NAME=
- CHULA_SSO_APP_ID=
- CHULA_SSO_APP_SECRET=
- NODE_ENV=production
networks:
- hts
account:
image: ghcr.io/hu-tao-supremacy/account-prod:latest
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=hu-tao-mains
- POSTGRES_PASSWORD=hu-tao-mains
- POSTGRES_DB=hts
- POSTGRES_PORT=5432
- GRPC_HOST=localhost
- GRPC_PORT=50055
- JWT_SECRET=hu-tao-mains
networks:
- hts
participant:
image: ghcr.io/hu-tao-supremacy/participant-prod:latest
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=hu-tao-mains
- POSTGRES_PASSWORD=hu-tao-mains
- POSTGRES_DB=hts
- POSTGRES_PORT=5432
- GRPC_HOST=localhost
- GRPC_PORT=50056
networks:
- hts
organizer:
image: ghcr.io/hu-tao-supremacy/organizer-prod:latest
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=hu-tao-mains
- POSTGRES_PASSWORD=hu-tao-mains
- POSTGRES_DB=hts
- POSTGRES_PORT=5432
- GRPC_HOST=localhost
- GRPC_PORT=50057
- HTS_SVC_ACCOUNT=account:50055
networks:
- hts
personalization:
image: ghcr.io/hu-tao-supremacy/personalization-prod:latest
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=hu-tao-mains
- POSTGRES_PASSWORD=hu-tao-mains
- POSTGRES_DB=hts
- POSTGRES_PORT=5432
- GRPC_HOST=localhost
- GRPC_PORT=50058
networks:
- hts
facility:
image: ghcr.io/hu-tao-supremacy/facility-dev:c8e8181
environment:
- POSTGRES_HOST=postgres
- POSTGRES_USER=hu-tao-mains
- POSTGRES_PASSWORD=hu-tao-mains
- POSTGRES_DB=hts
- POSTGRES_PORT=5432
- GRPC_HOST=localhost
- GRPC_PORT=50059
networks:
- hts
networks:
hts:
name: hts