version: '3.8' services: web-capture-api: build: . image: web-capture-api:latest container_name: web-capture-api ports: - "16025:16025" environment: - TZ=Asia/Shanghai volumes: - ./captures:/tmp/web_captures restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:16025/health"] interval: 30s timeout: 10s retries: 3 start_period: 10s