-
-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy pathcompose.yml
More file actions
353 lines (338 loc) · 9.86 KB
/
compose.yml
File metadata and controls
353 lines (338 loc) · 9.86 KB
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
# Description: Docker Compose file for running the Wheels Test Suite
networks:
wheels-network:
driver: bridge
services:
# Modern TestUI
testui:
build:
context: ./tools/docker/testui
image: wheels-testui:v2.0.0
ports:
- "3000:80"
# Add extra_hosts to allow container to access host services
extra_hosts:
- "host.docker.internal:host-gateway"
# Mount Docker socket and project directory for container management
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./:/wheels-test-suite:ro
- ./tools/docker/testui/logs/nginx:/var/log/nginx
# Add healthcheck to verify container is working properly
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 15s
# Add restart policy to ensure container stays up
restart: unless-stopped
environment:
- NODE_ENV=production
- VITE_API_BASE=/api
- VITE_MOCK_API=false
networks:
- wheels-network
lucee5:
build:
context: ./
dockerfile: ./tools/docker/lucee5/Dockerfile
image: wheels-test-lucee5:v1.0.2
volumes:
- ./:/wheels-test-suite
- type: bind
source: ./tools/docker/lucee5/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/lucee5/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/lucee5/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/lucee5/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "60005:60005"
networks:
- wheels-network
lucee6:
build:
context: ./
dockerfile: ./tools/docker/lucee6/Dockerfile
image: wheels-test-lucee6:v1.0.2
volumes:
- ./:/wheels-test-suite
- type: bind
source: ./tools/docker/lucee6/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/lucee6/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/lucee6/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/lucee6/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "60006:60006"
networks:
- wheels-network
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:60006/ || wget -q --spider http://localhost:60006/ || exit 1"]
interval: 10s
timeout: 5s
retries: 30
start_period: 30s
lucee7:
build:
context: ./
dockerfile: ./tools/docker/lucee7/Dockerfile
image: wheels-test-lucee7:v1.0.0
volumes:
- ./:/wheels-test-suite
- type: bind
source: ./tools/docker/lucee7/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/lucee7/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/lucee7/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/lucee7/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "60007:60007"
networks:
- wheels-network
adobe2018:
build:
context: ./
dockerfile: ./tools/docker/adobe2018/Dockerfile
image: wheels-test-adobe2018:v1.0.2
tty: true
stdin_open: true
volumes:
- ./:/wheels-test-suite
- type: bind
source: ./tools/docker/adobe2018/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/adobe2018/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/adobe2018/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/adobe2018/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "62018:62018"
networks:
- wheels-network
adobe2021:
build:
context: ./
dockerfile: ./tools/docker/adobe2021/Dockerfile
image: wheels-test-adobe2021:v1.0.2
tty: true
stdin_open: true
volumes:
- ./:/wheels-test-suite
- ./tools/docker/adobe2021:/wheels-test-suite/tools/docker/adobe2021
- type: bind
source: ./tools/docker/adobe2021/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/adobe2021/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/adobe2021/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/adobe2021/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "62021:62021"
networks:
- wheels-network
adobe2023:
build:
context: ./
dockerfile: ./tools/docker/adobe2023/Dockerfile
image: wheels-test-adobe2023:v1.0.1
tty: true
stdin_open: true
volumes:
- ./:/wheels-test-suite
- ./tools/docker/adobe2023:/wheels-test-suite/tools/docker/adobe2023
- type: bind
source: ./tools/docker/adobe2023/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/adobe2023/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/adobe2023/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/adobe2023/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "62023:62023"
networks:
- wheels-network
adobe2025:
build:
context: ./
dockerfile: ./tools/docker/adobe2025/Dockerfile
image: wheels-test-adobe2025:v1.0.0
tty: true
stdin_open: true
volumes:
- ./:/wheels-test-suite
- ./tools/docker/adobe2025:/wheels-test-suite/tools/docker/adobe2025
- type: bind
source: ./tools/docker/adobe2025/server.json
target: /wheels-test-suite/server.json
- type: bind
source: ./tools/docker/adobe2025/settings.cfm
target: /wheels-test-suite/config/settings.cfm
- type: bind
source: ./tools/docker/adobe2025/box.json
target: /wheels-test-suite/box.json
- type: bind
source: ./tools/docker/adobe2025/CFConfig.json
target: /wheels-test-suite/CFConfig.json
ports:
- "62025:62025"
networks:
- wheels-network
boxlang:
build:
context: ./
dockerfile: ./tools/docker/boxlang/Dockerfile
image: wheels-test-boxlang:v1.0.0
tty: true
stdin_open: true
# volumes:
# - ./:/wheels-test-suite
# - type: bind
# source: ./tools/docker/boxlang/server.json
# target: /wheels-test-suite/server.json
# - type: bind
# source: ./tools/docker/boxlang/settings.cfm
# target: /wheels-test-suite/config/settings.cfm
# - type: bind
# source: ./tools/docker/boxlang/box.json
# target: /wheels-test-suite/box.json
# - type: bind
# source: ./tools/docker/boxlang/CFConfig.json
# target: /wheels-test-suite/CFConfig.json
#
ports:
- "60001:60001"
networks:
- wheels-network
mysql:
image: mysql:9
restart: always
environment:
MYSQL_ROOT_PASSWORD: wheelstestdb
MYSQL_DATABASE: wheelstestdb
MYSQL_USER: wheelstestdb
MYSQL_PASSWORD: wheelstestdb
ports:
- "3307:3306"
healthcheck:
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p$$MYSQL_ROOT_PASSWORD"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- mysql_data:/var/lib/mysql
networks:
- wheels-network
postgres:
image: postgres:18
restart: always
environment:
POSTGRES_USER: wheelstestdb
POSTGRES_PASSWORD: wheelstestdb
POSTGRES_INITDB_ARGS: --auth-host=md5
ports:
- "5433:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready -U wheelstestdb"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- postgres_data:/var/lib/postgresql
networks:
- wheels-network
sqlserver:
build:
context: ./
dockerfile: ./tools/docker/sqlserver/Dockerfile_CICD
image: cfwheels-sqlserver:v1.0.2
restart: always
environment:
MSSQL_SA_PASSWORD: x!bsT8t60yo0cTVTPq
ACCEPT_EULA: Y
MSSQL_PID: Developer
# Increase memory to ensure stability
MSSQL_MEMORY_LIMIT_MB: 4096
ports:
- "1434:1433"
healthcheck:
test: /opt/mssql-tools18/bin/sqlcmd -S localhost -U SA -P "$$MSSQL_SA_PASSWORD" -Q "SELECT 1" -C || exit 1
interval: 30s
timeout: 10s
retries: 3
start_period: 120s
volumes:
- sqlserver_data:/var/opt/mssql
deploy:
resources:
limits:
memory: 4G
reservations:
memory: 2G
networks:
- wheels-network
oracle:
image: gvenzl/oracle-free:23-slim
restart: always
environment:
ORACLE_PASSWORD: wheelstestdb
ORACLE_DATABASE: wheelstestdb
APP_USER: wheelstestdb
APP_USER_PASSWORD: wheelstestdb
ports:
- "1522:1521"
volumes:
- ./tools/docker/Oracle:/container-entrypoint-startdb.d
healthcheck:
test: ["CMD", "sqlplus", "-S", "wheelstestdb/wheelstestdb@localhost:1521/wheelstestdb", "<<<", "SELECT 1 FROM DUAL;"]
interval: 30s
timeout: 10s
retries: 5
start_period: 120s
deploy:
resources:
limits:
memory: 2G
reservations:
memory: 1G
networks:
- wheels-network
volumes:
mysql_data:
postgres_data:
sqlserver_data: