# Docker Compose for SubConverter-Go # =================================== version: '3.8' services: subconverter-go: build: . container_name: subconverter-go ports: - "25500:25500" volumes: - ./config.yaml:/app/config.yaml:ro - ./logs:/app/logs restart: unless-stopped environment: - GIN_MODE=release - TZ=UTC healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:25500/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s