forked from usdot-jpo-ode/jpo-geojsonconverter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
108 lines (105 loc) · 2.55 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
106
107
108
include:
- jpo-utils/docker-compose.yml
services:
geojsonconverter:
profiles:
- all
- geojson_full
- geojson_base
build:
context: .
dockerfile: Dockerfile
args:
MAVEN_GITHUB_TOKEN: ${MAVEN_GITHUB_TOKEN:?error}
MAVEN_GITHUB_ORG: ${MAVEN_GITHUB_ORG:?error}
image: jpo_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}
spring.kafka.bootstrap-servers: ${DOCKER_HOST_IP:?error}:9092
logging:
options:
max-size: "10m"
max-file: "5"
depends_on:
- kafka
# ODE Services:
ode:
profiles:
- all
- geojson_full
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
- geojson_full
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}
ACM_LOG_TO_FILE: ${ADM_LOG_TO_FILE}
ACM_LOG_LEVEL: ${ADM_LOG_LEVEL}
depends_on:
kafka:
condition: service_healthy
logging:
options:
max-size: "10m"
max-file: "5"