-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose_event-service.yml
47 lines (46 loc) · 1.09 KB
/
docker-compose_event-service.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
version: '3'
services:
event-service:
image: xcodeassociated/elp-event-service:0.0.1
depends_on:
- "logstash"
- "influxdb"
- "keycloak"
- "dev-kafka-zookeeper"
- "dev-kafka-broker-1"
- "mongo0"
- "mongo1"
- "mongo2"
- "redis"
- "eureka-service"
external_links:
- "eureka-service:eureka-service"
- "influxdb:influxdb"
- "logstash:logstash"
- "keycloak:keycloak"
- "dev-kafka-zookeeper:dev-kafka-zookeeper"
- "dev-kafka-broker-1:dev-kafka-broker-1"
- "mongo0:mongo0"
- "mongo1:mongo1"
- "mongo2:mongo2"
- "redis:redis"
build:
context: ./services/event_service
dockerfile: Dockerfile-build
expose:
- "8083"
ports:
- "8083:8083"
healthcheck:
test: ["CMD", "curl", "-f","http://event-service:8083/actuator/health"]
interval: 10s
timeout: 30s
retries: 10
restart: always
environment:
- WAIT_HOSTS=eureka-service:8761/actuator/health
networks:
- int-dev-net
networks:
int-dev-net:
driver: bridge