Files
KSP_project/docker_image/docker-compose.topology-api.yml
2026-08-11 15:02:47 +08:00

22 lines
468 B
YAML

services:
topology-api:
image: topology-api:20260721-ghc06-layout
container_name: topology-api-2
restart: unless-stopped
env_file:
- .env
ports:
- "38080:8080"
healthcheck:
test:
- CMD
- python
- -c
- >-
import urllib.request;
urllib.request.urlopen('http://127.0.0.1:8080/health', timeout=3)
interval: 30s
timeout: 5s
retries: 3
start_period: 10s