version: "3.0" services: invidious: container_name: invidious hostname: invidious restart: unless-stopped image: quay.io/invidious/invidious:latest security_opt: - no-new-privileges:true stdin_open: true tty: true ports: - "4000:3000" expose: - "3000" healthcheck: test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/comments/jNQXAC9IVRw || exit 1 interval: 30s timeout: 5s retries: 2 user: 1000:1000 environment: TZ: "Europe/Paris" PUID: 1000 PGID: 1000 LANG: fr_FR.UTF_8 LANGUAGE: fr_FR:fr LC_ALL: fr_FR.UTF_8 INVIDIOUS_CONFIG: | db: dbname: invidious user: root password: [your password] host: [postgres host name/ip] port: 5432 check_tables: true captcha_enabled: true default_user_preferences: locale: fr region: FR domain: [domain to use] external_port: 443 https_only: true use_quic: false log_level: Warn captions: ["French", "English", ""] quality: dash quality_dash: auto registration_enabled: true admins: [put here your account ID] admin_email: [admin email] dark_mode: true statistics_enabled: true hsts: true popular_enabled: true volumes: - /etc/localtime:/etc/localtime:ro - /etc/timezone:/etc/timezone:ro - /var/run/docker.sock:/var/run/docker.sock