-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-prod.yml
161 lines (145 loc) · 3.23 KB
/
docker-compose-prod.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
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
version: '2'
services:
db:
image: mysql
volumes:
- ./scripts/database_setup.sql:/docker-entrypoint-initdb.d/schema.sql:ro
- db_data:/var/lib/mysql
ports:
- "3306:3306"
restart: always
environment:
# Necessary so that MySQL doesn't complain about uninitialized root user.
# Our setup script initializes a root password on the first launch.
# The MySQL password should be changed by hand to whatever the prod
# credentials are as soon as possible, and then service credentials must
# be also updated accordingly.
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
groot-ad-service:
build: groot-ad-service
ports:
- "8998:8998"
depends_on:
- groot-api-gateway
volumes:
- ./groot-ad-service:/usr/src/app
restart: always
groot-api-gateway:
build: groot-api-gateway
ports:
- "8000:8000"
volumes:
- groot_api_gateway_volume:/var/groot-api-gateway/
restart: always
groot-credits-service:
build: groot-credits-service
ports:
- "8765:8765"
depends_on:
- db
- groot-api-gateway
restart: always
groot-desktop-frontend:
build: groot-desktop-frontend
depends_on:
- groot-api-gateway
ports:
- "5000:5000"
restart: always
groot-events-service:
build: groot-events-service
ports:
- "8002:8002"
depends_on:
- groot-api-gateway
restart: always
environment:
TZ: "America/Chicago"
groot-gigs-service:
build: groot-gigs-service
ports:
- "8964:8964"
depends_on:
- db
- groot-api-gateway
restart: always
groot-groups-service:
build: groot-groups-service
ports:
- "9001:9001"
depends_on:
- groot-api-gateway
restart: always
groot-meme-service:
build: groot-meme-service
ports:
- "42069:42069"
depends_on:
- db
- groot-api-gateway
restart: always
groot-merch-service:
build: groot-merch-service
ports:
- "6969:6969"
depends_on:
- db
- groot-api-gateway
restart: always
environment:
RACK_ENV: "production"
groot-notification-service:
build: groot-notification-service
ports:
- "1122:1122"
depends_on:
- groot-api-gateway
restart: always
groot-quotes-service:
build: groot-quotes-service
ports:
- "9494:9494"
depends_on:
- db
- groot-api-gateway
restart: always
environment:
RACK_ENV: "production"
groot-recruiters-service:
build: groot-recruiters-service
ports:
- "4567:4567"
depends_on:
- db
- groot-api-gateway
restart: always
environment:
RACK_ENV: "production"
groot-request-service:
build: groot-request-service
ports:
- "5656:5656"
depends_on:
- groot-api-gateway
restart: always
groot-users-service:
build: groot-users-service
ports:
- "8001:8001"
depends_on:
- db
- groot-api-gateway
restart: always
environment:
RACK_ENV: "production"
groot-voz:
build: groot-voz
ports:
- "5652:5652"
depends_on:
- db
- groot-api-gateway
restart: always
volumes:
db_data:
groot_api_gateway_volume: