-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.ci.yml
More file actions
64 lines (58 loc) · 1.81 KB
/
Copy pathdocker-compose.ci.yml
File metadata and controls
64 lines (58 loc) · 1.81 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
# CI override: build owner images locally instead of pulling from GHCR.
# Usage: docker compose -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.ci.yml up -d --build
services:
backend-auth:
image: ulticode-backend-auth:latest
build:
context: .
dockerfile: services/Dockerfile
args:
SERVICE_MODULE: backend-auth
SERVICE_ARTIFACT: app.jar
SERVICE_PORT: "9101"
SERVICE_HEALTH_PATH: /api/v1/auth/health
backend-admin:
image: ulticode-backend-admin:latest
build:
context: .
dockerfile: services/Dockerfile
args:
SERVICE_MODULE: backend-admin
SERVICE_ARTIFACT: app-exec.jar
SERVICE_PORT: "9102"
SERVICE_HEALTH_PATH: /api/v1/admin/health
backend-app:
image: ulticode-backend-app:latest
build:
context: .
dockerfile: services/Dockerfile
args:
SERVICE_MODULE: app/app-web
SERVICE_ARTIFACT: app-exec.jar
SERVICE_PORT: "9103"
SERVICE_HEALTH_PATH: /api/v1/app/health
backend-submission:
image: ulticode-backend-submission:latest
build:
context: .
dockerfile: services/Dockerfile
args:
SERVICE_MODULE: submission
SERVICE_ARTIFACT: submission-exec.jar
SERVICE_PORT: "9106"
SERVICE_HEALTH_PATH: /actuator/health
SERVICE_HEALTHCHECK: "true"
console:
image: ulticode-console:latest
build:
context: .
dockerfile: console/Dockerfile
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:8080/"]
management:
image: ulticode-management:latest
build:
context: .
dockerfile: management/Dockerfile
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:8080/"]