mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
2.2 KiB
2.2 KiB
Invidious.nerdvpn.de
Invidious fork with customizations for invidious.nerdvpn.de
Theme for my instance is based on: https://github.com/Tsyron/Invidious-Theme
Original repo at: https://github.com/iv-org/invidious
Based upon patches from: https://github.com/yewtudotbe/invidious-custom https://git.nadeko.net/Fijxu/invidious
<<<<<<< HEAD
IMPORTANT
The instructions below are outdated. YouTube is currently quadrupling down on trying to block Invidious instances, so there are almost daily changes to my server setup. I haven't found the time yet to provide new/better instructions, so the instructions below should be taken with some grain of salt.
Requirements - you need to set this up before running my fork
- HAProxy 2.x either run on the host or added to the docker-compose.yaml with my config under
etc/haproxy/haproxy.cfg - PostgreSQL 16 server either run on the host or added to the docker-compose.yaml
- (optional bvut highly recommended) PGBouncer to pool the connections to PostgreSQL. You'll otherwise run into lots of db pool errors under high loads
- Nginx with my configs under etc/nginx
- Valid ssl certificate for your domain. I recommend using dehydrated: https://github.com/dehydrated-io/dehydrated
- Docker compose V2
9de2789 (Change to multiple backends)
Build instructions
Do this in a separate dir (for example /srv/invidious) under non-root permissions
git clone https://github.com/Sommerwiesel/invidious-nerdvpn .git clone https://github.com/iv-org/invidious buildgit clone https://github.com/iv-org/invidious-companion companion- Modify the patches under invidious-nerdvpn/patches to your needs (i.e. change branding) and then run
./patch.sh ./build.sh developmentfor the development image or./build.sh releasefor the production imagebuild.sh companionto build the invidious companion
Update instructions
- Run
./revert.shto remove all patches - Update both repos (build and companion) via
git pull - Run the steps 5 and 6 again fro mthe run instructions
Run instructions (docker compose)
- Simply run
docker compose up -d
Run instructions (systemd)
First copy the invidious.service to /etc/systemd/system/
- Enable and start with:
systemctl enable --now invidious.service