15 lines
864 B
Markdown
15 lines
864 B
Markdown
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
|
|
```
|