services: postgres: image: postgres:10 restart: unless-stopped volumes: - postgresdata:/var/lib/postgresql/data environment: POSTGRES_DB: invidious POSTGRES_USER: kemal POSTGRES_PASSWORD: kemal healthcheck: test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER"] invidious: image: quay.io/invidious/invidious:latest ports: - "127.0.0.1:3000:3000" environment: INVIDIOUS_CONFIG: | channel_threads: 4 check_tables: true feed_threads: 4 db: dbname: invidious user: kemal password: kemal host: postgres port: 5432 full_refresh: false https_only: false depends_on: - postgres volumes: postgresdata: