No description
This repository has been archived on 2025-06-03. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Find a file
2025-04-12 16:30:01 +02:00
nginx Fix everything 2025-04-12 16:30:01 +02:00
scripts Fix everything 2025-04-12 16:30:01 +02:00
smart-ipv6-rotator@6c7286107b Initial commit 2025-03-25 17:25:31 +01:00
.env Move companion secret key to .env 2025-04-12 10:58:57 +02:00
.gitmodules Initial commit 2025-03-25 17:25:31 +01:00
config.toml Move companion secret key to .env 2025-04-12 10:58:57 +02:00
docker-compose.yml Move companion secret key to .env 2025-04-12 10:58:57 +02:00
README.md Finishing touches 2025-04-12 15:06:37 +02:00

  1. Fill in .env
  2. If you want to use gluetun:
    • in docker-compose.yml, uncomment everything under gluetun: and the two lines network_mode and depends_on
    • Put wg0.conf in the root directory
  3. Set up nameservers (records pointing to companion) and wait until it's live
  4. ./scripts/install.sh
  5. The companion should be accessible at your domain with a self-signed cert.
    To get a real one do ./scripts/issue_cert.sh
  6. Schedule reset.sh. This rotates your IP, updates containers, and it's generally a good practice to auto restart.
    This restarts every hour:00. You can change it, if you want to. / If you have multiple companions, you should make them restart at different times.
    @reboot sleep 30s && cd /opt/invidious-companion/scripts/reset.sh
    0 * * * * cd /opt/invidious-companion/scripts/reset.sh