services: xstream-downloader: build: . container_name: xstream-downloader ports: - "8770:8770" volumes: - ./downloads:/app/downloads - ./cookies:/app/cookies environment: - FLASK_ENV=production restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8770/"] interval: 30s timeout: 10s retries: 3 start_period: 10s