-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
105 lines (102 loc) · 2.52 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
include:
- docker-compose-ode.yml
services:
conflictmonitor-build:
profiles:
- all
- cm_full
- cm_base
- cm_build
build:
context: .
dockerfile: Dockerfile
args:
MAVEN_GITHUB_TOKEN: ${MAVEN_GITHUB_TOKEN:?error}
MAVEN_GITHUB_ORG: ${MAVEN_GITHUB_ORG:?error}
image: jpo-conflictmonitor:latest
restart: ${RESTART_POLICY}
ports:
- "8082:8082"
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP:?error}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_BOOTSTRAP_SERVERS:?error}
CONNECT_URL: ${CONNECT_URL:?error}
spring.kafka.bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:?error}
healthcheck:
test: ["CMD", "java", "-version"]
interval: 10s
timeout: 10s
retries: 20
logging:
options:
max-size: "10m"
max-file: "5"
deploy:
resources:
limits:
memory: 3G
depends_on:
kafka:
condition: service_healthy
conflictmonitor-release:
profiles:
- cm_release
image: usdotjpoode/jpo-conflictmonitor:latest
restart: ${RESTART_POLICY}
ports:
- "8082:8082"
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP:?error}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_BOOTSTRAP_SERVERS:?error}
CONNECT_URL: ${CONNECT_URL:?error}
spring.kafka.bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:?error}
healthcheck:
test: ["CMD", "java", "-version"]
interval: 10s
timeout: 10s
retries: 20
logging:
options:
max-size: "10m"
max-file: "5"
deploy:
resources:
limits:
memory: 3G
depends_on:
kafka:
condition: service_healthy
deduplicator:
profiles:
- all
- cm_full
- cm_base
- deduplicator
build:
context: .
dockerfile: Dedup_Dockerfile
args:
MAVEN_GITHUB_TOKEN: ${MAVEN_GITHUB_TOKEN:?error}
MAVEN_GITHUB_ORG: ${MAVEN_GITHUB_ORG:?error}
image: jpo-deduplicator:latest
restart: ${RESTART_POLICY}
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP}
KAFKA_BOOTSTRAP_SERVERS: ${KAFKA_BOOTSTRAP_SERVERS:?error}
spring.kafka.bootstrap-servers: ${KAFKA_BOOTSTRAP_SERVERS:?error}
healthcheck:
test: ["CMD", "java", "-version"]
interval: 10s
timeout: 10s
retries: 20
logging:
options:
max-size: "10m"
max-file: "5"
deploy:
resources:
limits:
memory: 3G
depends_on:
kafka:
condition: service_healthy