-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose-ode.yml
135 lines (130 loc) · 3.24 KB
/
docker-compose-ode.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
include:
- jpo-utils/docker-compose.yml
services:
geojsonconverter:
profiles:
- all
- cm_api_full
- geojsonconverter
image: usdotjpoode/geojsonconverter:latest
restart: ${RESTART_POLICY}
deploy:
resources:
limits:
cpus: '1'
memory: 2G
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP:?error}
KAFKA_TYPE: ${KAFKA_TYPE}
CONFLUENT_KEY: ${CONFLUENT_KEY}
CONFLUENT_SECRET: ${CONFLUENT_SECRET}
geometry.output.mode: ${GEOMETRY_OUTPUT_MODE:-GEOJSON_ONLY}
spring.kafka.bootstrap-servers: ${DOCKER_HOST_IP:?error}:9092
logging:
options:
max-size: "10m"
max-file: "5"
depends_on:
kafka:
condition: service_healthy
# ODE Services:
ode:
profiles:
- all
- cm_api_full
- ode
image: usdotjpoode/jpo-ode:latest
restart: ${RESTART_POLICY}
deploy:
resources:
limits:
cpus: '2'
memory: 4G
ports:
- "8080:8080"
- "9090:9090"
- "46753:46753/udp"
- "46800:46800/udp"
- "47900:47900/udp"
- "44900:44900/udp"
- "44910:44910/udp"
- "44920:44920/udp"
- "44930:44930/udp"
- "44940:44940/udp"
- "44990:44990/udp"
- "5555:5555/udp"
- "6666:6666/udp"
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP:?error}
KAFKA_TYPE: ${KAFKA_TYPE}
CONFLUENT_KEY: ${CONFLUENT_KEY}
CONFLUENT_SECRET: ${CONFLUENT_SECRET}
depends_on:
kafka:
condition: service_healthy
healthcheck:
test: ["CMD", "wget" ,"--spider", "http://localhost:8080"]
interval: 5s
timeout: 30s
retries: 5
start_period: 10s
logging:
options:
max-size: "10m"
max-file: "5"
adm:
profiles:
- all
- cm_api_full
- adm
image: usdotjpoode/asn1_codec:latest
restart: ${RESTART_POLICY}
deploy:
resources:
limits:
cpus: '1'
memory: 2G
environment:
DOCKER_HOST_IP: ${DOCKER_HOST_IP:?error}
KAFKA_TYPE: ${KAFKA_TYPE}
CONFLUENT_KEY: ${CONFLUENT_KEY}
CONFLUENT_SECRET: ${CONFLUENT_SECRET}
ACM_CONFIG_FILE: adm.properties
ACM_LOG_TO_CONSOLE: ${ADM_LOG_TO_CONSOLE:-false}
ACM_LOG_TO_FILE: ${ADM_LOG_TO_FILE:-true}
ACM_LOG_LEVEL: ${ADM_LOG_LEVEL:-INFO}
depends_on:
kafka:
condition: service_healthy
logging:
options:
max-size: "10m"
max-file: "5"
conflictmonitor:
profiles:
- all
- cm_api_full
- conflictmonitor
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}
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