-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
executable file
·179 lines (166 loc) · 4.73 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
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
version: "3"
services:
redis:
image: redis
hostname: redis
container_name: redis
ports:
- "6379:6379"
networks:
gateway:
aliases:
- redis
mongo:
image: mongo:3
container_name: mongo
command: mongod --smallfiles --bind_ip_all
volumes:
- ./data:/data/db
ports:
- "27017:27017"
networks:
- gateway
gateway:
build: .
container_name: gateway
ports:
- "8080:8080"
- "80:80"
- "8443:8443"
- "9876:9876"
volumes:
- ./config/system.config.yml:/usr/src/app/config/system.config.yml
- ./config/gateway.config.yml:/usr/src/app/config/gateway.config.yml
networks:
- gateway
connection:
image: shipyardsuite/connection:develop
command: sh -c 'npm run start:dev'
container_name: connection
ports:
- "3069:3069"
networks:
- gateway
environment:
SERVICE_NAME: connection
SERVICE_PORT: 3069
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_CONNECTION} || exit 1
interval: 20s
timeout: 10s
retries: 3
homepage:
image: shipyardsuite/homepage:develop
command: sh -c 'npm run start'
container_name: homepage
ports:
- "3001:3001"
networks:
- gateway
environment:
SERVICE_NAME: homepage
SERVICE_PORT: 3001
PRELAUNCH_ACTIVE: "false"
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_HOMEPAGE} || exit 1
interval: 20s
timeout: 10s
retries: 3
auth:
image: shipyardsuite/auth:develop
command: sh -c 'npm run start'
container_name: auth
ports:
- "3002:3002"
networks:
- gateway
environment:
SERVICE_NAME: auth
SERVICE_PORT: 3002
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_AUTH} || exit 1
interval: 20s
timeout: 10s
retries: 3
documentation:
image: shipyardsuite/documentation:develop
command: sh -c 'npm run start:dev'
container_name: documentation
ports:
- "3003:3003"
networks:
- gateway
environment:
SERVICE_NAME: documentation
SERVICE_PORT: 3003
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_DOCUMENTATION} || exit 1
interval: 20s
timeout: 10s
retries: 3
dashboard:
image: shipyardsuite/dashboard:develop
command: sh -c 'npm run start:dev'
container_name: dashboard
ports:
- "3004:3004"
networks:
- gateway
environment:
SERVICE_NAME: dashboard
SERVICE_PORT: 3004
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_DASHBOARD} || exit 1
interval: 20s
timeout: 10s
retries: 3
player:
image: shipyardsuite/player:develop
command: sh -c 'npm run start'
container_name: player
ports:
- "3006:3006"
networks:
- gateway
environment:
SERVICE_NAME: player
SERVICE_PORT: 3006
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_PLAYER} || exit 1
interval: 20s
timeout: 10s
retries: 3
project:
image: shipyardsuite/project:develop
command: sh -c 'npm run start'
container_name: project
ports:
- "3007:3007"
networks:
- gateway
environment:
SERVICE_NAME: project
SERVICE_PORT: 3007
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_PROJECT} || exit 1
interval: 20s
timeout: 10s
retries: 3
user:
image: shipyardsuite/user:develop
command: sh -c 'npm run start'
container_name: user
ports:
- "3009:3009"
networks:
- gateway
environment:
SERVICE_NAME: user
SERVICE_PORT: 3009
healthcheck:
test: curl --fail -s https://hc-ping.com/${HEALTHCHECK_ID_USER} || exit 1
interval: 20s
timeout: 10s
retries: 3
networks:
gateway: