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
All checks were successful
Invidious CI / build (push) Successful in 4m17s
This commit is contained in:
parent
9f7712a62e
commit
22d8b1e822
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue