22 lines
468 B
YAML
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
|