services: gonavi-web-server: image: ${GONAVI_WEB_IMAGE:-ghcr.io/syngnat/gonavi-web-server:latest} pull_policy: ${GONAVI_WEB_PULL_POLICY:-missing} container_name: gonavi-web-server restart: unless-stopped ports: - "${GONAVI_WEB_HTTP_PORT:-34116}:34116" environment: GONAVI_DATA_ROOT: /data GONAVI_LOG_DIR: /var/lib/gonavi/logs GONAVI_WEB_ADDR: 0.0.0.0:34116 volumes: - type: bind source: ${GONAVI_HOST_DATA_ROOT} target: /data healthcheck: test: ["CMD", "curl", "-fsS", "http://127.0.0.1:34116/__gonavi/healthz"] interval: 15s timeout: 5s retries: 5 start_period: 20s command: ["web-server"]