No description
nginx | ||
smart-ipv6-rotator@6c7286107b | ||
.gitmodules | ||
config.toml | ||
docker-compose.yml | ||
README.md | ||
reset.sh |
Checklist
- Replace IP addressses in
docker-compose.yml
andreset.sh
- Make sure
reset.sh
works - Set companion secret key in
config.toml
- 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 togluetun
if using gluetun
- If using gluetun: Create
wg0.conf
and comment the rotation inreset.sh
docker compose up -d
and issue a certificate- 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