Created
February 16, 2026 08:28
-
-
Save kajain99/64066cb462fd9efc1dfe3262cb8d7150 to your computer and use it in GitHub Desktop.
invidious on Ugreen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| services: | |
| invidious-db: | |
| image: postgres:16-alpine | |
| restart: unless-stopped | |
| environment: | |
| POSTGRES_DB: invidious | |
| POSTGRES_USER: kemal | |
| POSTGRES_PASSWORD: kemal | |
| volumes: | |
| - ./postgresdata:/var/lib/postgresql/data # create this directory manully to avoid any permission issues | |
| - ./config/sql:/config/sql:ro # upload the entire config directory from project code | |
| - ./docker:/docker:ro # upload the entire docker directory from project code | |
| companion: | |
| image: quay.io/invidious/invidious-companion:latest | |
| restart: unless-stopped | |
| environment: | |
| SERVER_SECRET_KEY: "c9f1a4b2d6e8f0a3" # random 16 len key same as companion key | |
| volumes: | |
| - ./companioncache:/cache | |
| read_only: true | |
| cap_drop: | |
| - ALL | |
| invidious: | |
| image: quay.io/invidious/invidious:latest | |
| restart: unless-stopped | |
| depends_on: | |
| - invidious-db | |
| - companion | |
| ports: | |
| - "3000:3000" | |
| environment: | |
| INVIDIOUS_CONFIG: | | |
| db: | |
| user: kemal | |
| password: kemal | |
| host: invidious-db | |
| port: 5432 | |
| dbname: invidious | |
| check_tables: true | |
| hmac_key: "3f6c7f5a9e2d4b1c8a0f7d9e6b3a2c1d5e8f0a1b2c3d4e5f60718293a4b5c6d7" # 32 char long secure key | |
| invidious_companion: | |
| - private_url: "http://companion:8282/companion" | |
| invidious_companion_key: "c9f1a4b2d6e8f0a3" # same as server secret key. 16 char long secure key | |
| registration_enabled: false | |
| https_only: false | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment