Restart the invidious process every hour because IT TAKES A LOT OF RAM IF YOU DON'T RESTART IT
All checks were successful
Invidious CI / build (push) Successful in 4m17s

This commit is contained in:
nadeko.net Selfhost 2024-05-11 01:02:45 -04:00
parent 9f7712a62e
commit 22d8b1e822

View file

@ -54,3 +54,9 @@ services:
- invidious
ports:
- "127.0.0.1:10011:3000"
restarter:
image: docker:cli
volumes: ["/var/run/docker.sock:/var/run/docker.sock"]
command: ["/bin/sh", "-c", "while true; do sleep 86400; docker compose restart invidious invidious-refresher; done"]
restart: unless-stopped