version: '3.8' services: boys_streaming: build: . container_name: boys_streaming network_mode: host restart: unless-stopped volumes: - ./config:/app/config - ./videos:/app/videos environment: - VIDEOS_DIR=/app/videos - CONFIG_DIR=/app/config healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8501/_stcore/health"] interval: 30s timeout: 10s retries: 3