33 lines
No EOL
818 B
Django/Jinja
33 lines
No EOL
818 B
Django/Jinja
services:
|
|
apprise-api:
|
|
image: caronc/apprise:latest
|
|
container_name: apprise-api
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8000:8000"
|
|
volumes:
|
|
- apprise_config:/config
|
|
- apprise_store:/store
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /etc/timezone:/etc/timezone:ro
|
|
environment:
|
|
- APPRISE_CONFIG_LOCK=${APPRISE_CONFIG_LOCK:-no}
|
|
- APPRISE_STATELESS_URLS=${APPRISE_STATELESS_URLS:-}
|
|
- APPRISE_STORAGE_PATH=/store
|
|
- APPRISE_STORAGE_PRUNE_DAYS=${APPRISE_STORAGE_PRUNE_DAYS:-30}
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
networks:
|
|
- pangolin
|
|
|
|
volumes:
|
|
apprise_config:
|
|
apprise_store:
|
|
|
|
networks:
|
|
pangolin:
|
|
external: true |