SH SelfHostAlt
Sponsored Self-host any open-source app on Hostinger KVM VPS from $4.99/mo (1-Click Docker) →
Invidious logo

Invidious

AGPL-3.0 Docker Ready ★ 26,171 Stars Active · 2026-11-27

Alternative YouTube front-end. .

Category
Media Streaming - Video Streaming
Tech Stack / Runtime
Docker/Crystal
Open-Source License
AGPL-3.0
GitHub Health
★ 26,171 · 2,926 forks
#invidious#watch#agplv3#youtube#video
Official docker-compose.yml

Quick Docker Compose Reference for Invidious

# Warning: This docker-compose file is made for development purposes.
# Using it will build an image from the locally cloned repository.
#
# If you want to use Invidious in production, see the docker-compose.yml file provided
# in the installation documentation: https://docs.invidious.io/installation/

version: "3"
services:

  invidious:
    build:
      context: .
      dockerfile: docker/Dockerfile
    restart: unless-stopped
    ports:
      - "127.0.0.1:3000:3000"
    depends_on:
      invidious-db:
        condition: service_healthy
        restart: true
    environment:
      # Please read the following file for a comprehensive list of all available
      # configuration options and their associated syntax:
      # https://github.com/iv-org/invidious/blob/master/config/config.example.yml
      INVIDIOUS_CONFIG: |
        db:
          dbname: invidious
          user: kemal
          password: kemal
          host: invidious-db
          port: 5432
        check_tables: true
        # external_port:
        # domain:
        # https_only: false
        # statistics_enabled: false
        hmac_key: "CHANGE_ME!!"
    healthcheck:
      test: wget -nv --tries=1 --spider http://127.0.0.1:3000/api/v1/stats || exit 1
      interval: 30s
      timeout: 5s
      retries: 2

  invidious-db:
    image: docker.io/library/postgres:14
    restart: unless-stopped
    volumes:
      - postgresdata:/var/lib/postgresql/data
      - ./config/sql:/config/sql
      - ./docker/init-invidious-db.sh:/docker-entrypoint-initdb.d/init-invidious-db.sh
    environment:
      POSTGRES_DB: invidious
      POSTGRES_USER: kemal
      POSTGRES_PASSWORD: kemal
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]

volumes:
  postgresdata:

Invidious System Requirements & Self-Hosting Guide

Deploy Invidious (4 GB+ RAM) →

Recommended VPS

4 GB+ RAM

2 – 4 vCPU · $6 – $12/mo VPS

Deployment Method

Intermediate

Docker / Docker Compose (Recommended)

Commercial Use (AGPL-3.0)

Yes for internal team self-hosting; modified SaaS redistribution requires sharing changes.

Maintenance Status

Active

Last commit: 2026-11-27

Frequently Asked Questions about Invidious

Is Invidious free to self-host for commercial use?

Invidious is released under the AGPL-3.0 license. Yes for internal team self-hosting; modified SaaS redistribution requires sharing changes. It has 26,171 GitHub stars and was last updated on 2026-11-27.

What VPS specifications do I need to self-host Invidious?

Based on its Docker/Crystal runtime and Media Streaming - Video Streaming workload, we recommend at least 4 GB+ RAM and 2 – 4 vCPU (typically $6 – $12/mo VPS).

Does Invidious support Docker deployment?

Yes — Invidious supports Docker / Docker Compose (Recommended), making it intermediate to spin up on any Linux VPS.

More Open-Source Media Streaming - Video Streaming

View all →
★ 29.5k Docker

Simple, high efficiency and real-time video server, supports RTMP, WebRTC, HLS, HTTP-FLV and SRT. .

MIT Docker/C++
Details →
★ 15.4k

Decentralized video streaming platform using P2P (BitTorrent) directly in the web browser. ).

Replaces: Twitch
AGPL-3.0 Nodejs
Details →
★ 11.7k

Decentralized single-user live video streaming and chat server for running your own live streams similar in style to the large mainstream options. .

Replaces: Twitch
★ 8.6k Docker

Organize, search, and enjoy your YouTube collection. Subscribe, download, and track viewed content with metadata indexing and a user-friendly interface. , Clients.

GPL-3.0 Docker
Details →
★ 5.3k Docker

Access H.264 real-time video streaming on your website without a streaming provider. .

Replaces: Twitch
Apache-2.0 Nodejs/Docker
Details →
★ 5.2k Docker

Modern, fully featured video and media CMS, written in Python/Django/React, featuring a REST API. .

AGPL-3.0 Python/Docker
Details →