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>
31 lines
754 B
Django/Jinja
31 lines
754 B
Django/Jinja
services:
|
|
apprise:
|
|
container_name: apprise
|
|
restart: unless-stopped
|
|
ports:
|
|
- {{ network.docker_host_ip }}:8000:8000
|
|
environment:
|
|
- APPRISE_STATEFUL_MODE=simple
|
|
- APPRISE_WORKER_COUNT=1
|
|
volumes:
|
|
- config:/config
|
|
- plugin:/plugin
|
|
- attach:/attach
|
|
image: caronc/apprise:latest
|
|
extra_hosts:
|
|
- "{{ subdomains.gotify }}:{{ docker.hairpin_ip }}"
|
|
labels:
|
|
glance.name: Apprise
|
|
glance.icon: si:imessage
|
|
glance.url: https://{{ subdomains.appriseapi }}/
|
|
glance.description: Apprise api server
|
|
glance.id: apprise
|
|
mag37.dockcheck.update: true
|
|
volumes:
|
|
config:
|
|
attach:
|
|
plugin:
|
|
networks:
|
|
default:
|
|
external: true
|
|
name: {{ docker.network_name }} |