-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (38 loc) · 985 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
40 lines (38 loc) · 985 Bytes
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
services:
network-discovery:
image: ghcr.io/presidio-federal/network-discovery-mcp:latest
container_name: network-discovery-mcp
environment:
- ARTIFACT_DIR=/artifacts
- BATFISH_HOST=batfish
volumes:
- ./artifacts:/artifacts
ports:
- "8000:8000"
depends_on:
- batfish
networks:
- discovery-network
healthcheck:
test: ["CMD-SHELL", "curl -k -f https://localhost:8000/docs || exit 1"]
interval: 30s
timeout: 10s
retries: 3
batfish:
image: batfish/allinone:latest
container_name: batfish
ports:
- "9997:9997" # Batfish service port
- "9996:9996" # Coordinator service port
volumes:
- ./artifacts:/data
networks:
- discovery-network
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:9996/coordinator/v2/status || exit 1"]
interval: 30s
timeout: 10s
retries: 3
networks:
discovery-network:
driver: bridge