forked from usdot-jpo-ode/jpo-deduplicator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-ode.yml
More file actions
123 lines (120 loc) · 3.83 KB
/
docker-compose-ode.yml
File metadata and controls
123 lines (120 loc) · 3.83 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
include:
- jpo-utils/docker-compose.yml
services:
geojsonconverter:
profiles:
- all
- deduplicator_full
- geojsonconverter
image: ${DOCKERHUB_HOST:-usdotjpoode}/geojsonconverter:${DOCKERHUB_RELEASE:-2025-q3}
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
required: false
# ODE Services:
ode:
profiles:
- all
- deduplicator_full
- ode
image: ${DOCKERHUB_HOST:-usdotjpoode}/jpo-ode:${DOCKERHUB_RELEASE:-2025-q3}
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}
ODE_KAFKA_BROKERS: ${DOCKER_HOST_IP}:9092
KAFKA_TYPE: ${KAFKA_TYPE}
CONFLUENT_KEY: ${CONFLUENT_KEY}
CONFLUENT_SECRET: ${CONFLUENT_SECRET}
KAFKA_LINGER_MS: ${KAFKA_LINGER_MS:-1}
KAFKA_ACKS: ${KAFKA_ACKS:-all}
KAFKA_RETRIES: ${KAFKA_RETRIES:-0}
KAFKA_BATCH_SIZE: ${KAFKA_BATCH_SIZE:-16384}
KAFKA_BUFFER_MEMORY: ${KAFKA_BUFFER_MEMORY:-33554432}
KAFKA_COMPRESSION_TYPE: ${KAFKA_COMPRESSION_TYPE:-zstd}
KAFKA_KEY_SERIALIZER: ${KAFKA_KEY_SERIALIZER:-org.apache.kafka.common.serialization.StringSerializer}
KAFKA_VALUE_SERIALIZER: ${KAFKA_VALUE_SERIALIZER:-org.apache.kafka.common.serialization.StringSerializer}
KAFKA_PARTITIONER_CLASS: ${KAFKA_PARTITIONER_CLASS:-org.apache.kafka.clients.producer.internals.DefaultPartitioner}
ODE_TIM_INGEST_MONITORING_ENABLED: ${ODE_TIM_INGEST_MONITORING_ENABLED:-true}
ODE_TIM_INGEST_MONITORING_INTERVAL: ${ODE_TIM_INGEST_MONITORING_INTERVAL:-60}
ODE_STOMP_EXPORTER_ENABLED: ${ODE_STOMP_EXPORTER_ENABLED:-true}
DATA_SIGNING_ENABLED_RSU: ${DATA_SIGNING_ENABLED_RSU:-false}
DATA_SIGNING_ENABLED_SDW: ${DATA_SIGNING_ENABLED_SDW:-false}
depends_on:
kafka:
condition: service_healthy
required: false
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
- deduplicator_full
- adm
image: ${DOCKERHUB_HOST:-usdotjpoode}/asn1_codec:${DOCKERHUB_RELEASE:-2025-q3}
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
required: false
logging:
options:
max-size: "10m"
max-file: "5"