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-10 17:27:59 +02:00
nginx Update nginx/nginx.conf 2025-04-04 07:48:48 +02:00
smart-ipv6-rotator@6c7286107b Initial commit 2025-03-25 17:25:31 +01:00
.gitmodules Initial commit 2025-03-25 17:25:31 +01:00
config.toml Update config.toml 2025-03-29 10:11:00 +01:00
docker-compose.yml Update docker-compose.yml 2025-04-06 08:57:11 +02:00
README.md Update README.md 2025-04-07 06:44:15 +02:00
reset.sh Update reset.sh 2025-04-10 17:27:59 +02:00

Checklist

  1. Replace IP addressses in docker-compose.yml and reset.sh
  2. Make sure reset.sh works
  3. Set companion secret key in config.toml
  4. In nginx:
    • openssl dhparam -out dhparam.pem 3072 (takes up to a few minutes, you can do the two below steps in the meantime)
    • openssl req -new -x509 -days 365 -noenc -out snakeoil.pem -keyout snakeoil.key (keep pressing Enter)
    • Replace hostname in conf.d/companion.conf also replace proxy target to gluetun if using gluetun
  5. If using gluetun: Create wg0.conf and comment the rotation in reset.sh
  6. docker compose up -d and issue a certificate
  7. Schedule reset.sh. This is very very important. Restart it every at most 24 hours.
    @reboot sleep 30s && cd /opt/invidious-companion && ./reset.sh
    25 */3 * * * cd /opt/invidious-companion && ./reset.sh
    

TODOs:

  • automate all above
  • reset.sh only when companion up