Restart apprise, audiobookshelf and dawarich after reboots
apprise and audiobookshelf had no restart policy, and the dawarich app and sidekiq used on-failure. Docker stops containers cleanly on a reboot or daemon upgrade, so none of them came back on their own. Use unless-stopped like the other services. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -52,7 +52,7 @@ services:
|
||||
tty: true
|
||||
entrypoint: web-entrypoint.sh
|
||||
command: ['bin/rails', 'server', '-p', '3000', '-b', '::']
|
||||
restart: on-failure
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
RAILS_ENV: production
|
||||
DATABASE_HOST: dawarich_db
|
||||
@@ -111,7 +111,7 @@ services:
|
||||
tty: true
|
||||
entrypoint: sidekiq-entrypoint.sh
|
||||
command: ['sidekiq']
|
||||
restart: on-failure
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
RAILS_ENV: production
|
||||
DATABASE_HOST: dawarich_db
|
||||
|
||||
Reference in New Issue
Block a user