-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
30 lines (29 loc) · 924 Bytes
/
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
services:
leetty-gateway:
container_name: ${LEETTY_GATEWAY_CONTAINER_NAME}
image: leetty-gateway:${LEETTY_GATEWAY_VERSION}
environment:
LEETTY_GATEWAY_APP_PROFILE: ${LEETTY_GATEWAY_APP_PROFILE}
LEETTY_GATEWAY_LOGGER_LEVEL: ${LEETTY_GATEWAY_LOGGER_LEVEL}
LEETTY_GATEWAY_CONFIG_PATH: /configs/config.yml
LEETTY_GATEWAY_PORT: ${LEETTY_GATEWAY_PORT}
volumes:
- ${LEETTY_GATEWAY_CONFIG_PATH}:/configs/config.yml
ports:
- ${LEETTY_GATEWAY_PORT}:${LEETTY_GATEWAY_PORT}
healthcheck:
test: [ "CMD-SHELL", "curl -f -s localhost:${LEETTY_GATEWAY_PORT}/health | grep \\." ]
interval: 10s
timeout: 5s
retries: 5
networks:
- monitoring_network
- kafka_network
restart: always
networks:
monitoring_network:
external: true
name: ${MONITORING_NETWORK_NAME}
kafka_network:
external: true
name: ${KAFKA_NETWORK_NAME}