-
setup traefik This is a bit out of the scope of this guide. I set traefik outside of this docker compose file, since its beign used by many separate setups on my machine. But you can put traefik in the same override file, if you do not intend to use it for other service (but it makes no sense to use it at all in that case). I use combination os OSX's /etc/resolver and dnsmasq to resolve subdomain.test. tld to localhost adresses.
-
clone repo https://github.com/iv-org/invidious/
-
comment out "ports:" section of invidious service. Unfortunately there is no way to override it. You can leave it as it is, but then using traefik makes less sense.
-
copy provided docker-compose.yml in the same repo. Set a random password for db, and hmac_key Use appropriate Dockerfile to build dist image. (arm64 in my case) Pay attention to default network name (must be the same as in traefik network)
-
docker compose up -d
to boot up whole setup
Traefik will make instance reachable throug 'inv.test' hostname