Add hourly restart sidecar for invidious and companion
Some checks failed
Deploy Stacks / deploy-prod (push) Successful in 6s
Deploy Stacks / deploy-dev (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-14 11:38:06 -05:00
parent 9ad35b77d8
commit 272250d4c2

View File

@@ -83,6 +83,19 @@ services:
- web - web
- default - default
invidious-restarter:
image: docker:cli
container_name: invidious-restarter
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: sh -c "while true; do sleep 3600; docker restart invidious invidious-companion; done"
deploy:
resources:
limits:
cpus: '0.1'
memory: 32M
invidious-db: invidious-db:
image: postgres:14 image: postgres:14
container_name: invidious-db container_name: invidious-db