-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (41 loc) · 1006 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
31
32
33
34
35
36
37
38
39
40
41
42
43
services:
qi-fdr-kpi:
container_name: pagopa-qi-fdr-kpi-service
build:
dockerfile: Dockerfile
context: .
env_file:
- docker-local/qi-fdr-kpi/qi-fdr-kpi.env
ports:
- "8080:8080"
networks:
- pagopa-qi-fdr-kpi-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/actuator/health/liveness"]
interval: 10s
timeout: 5s
retries: 5
depends_on:
localhost-data-explorer:
condition: service_healthy
localhost-data-explorer:
container_name: localhost-data-explorer
build:
context: docker-local/azure-data-explorer
dockerfile: Dockerfile
ports:
- "8083:8080"
networks:
- pagopa-qi-fdr-kpi-net
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/"]
interval: 10s
timeout: 5s
retries: 5
networks:
pagopa-qi-fdr-kpi-net:
driver: bridge
ipam:
config:
- subnet: 10.21.0.0/16
gateway: 10.21.0.1