services: vidarchive: # yt-dlp is downloaded into ./data/bin on first start and updated from the # Settings page. The image does not carry it. build: context: . dockerfile: Containerfile container_name: vidarchive ports: - "8080:8080" volumes: - ./data:/data env_file: - .env environment: - VIDARCHIVE_PORT=8080 - VIDARCHIVE_DATA_DIR=/data - VIDARCHIVE_WORKERS=2 # How often the subscription scheduler looks for due runs, in seconds - VIDARCHIVE_SCHEDULER_INTERVAL=60 # Uncomment to run behind HTTPS proxy: # - VIDARCHIVE_BASE_URL=https://vidarchive.example.com # Uncomment to manage yt-dlp yourself; VidArchive then never touches it. # - VIDARCHIVE_YTDLP_PATH=/usr/bin/yt-dlp # Add this to still let VidArchive run the updater of a binary you # installed yourself, e.g. on an architecture it has no build for. # - VIDARCHIVE_UPDATE_EXTERNAL_TOOLS=1 restart: unless-stopped # Give in-flight downloads and the database checkpoint time to finish before # the container is killed; the default 10s can cut a shutdown short. stop_grace_period: 60s