Add playbooks/templates/apprise-compose.yml
This commit is contained in:
parent
469c8c70d1
commit
b75a6ce59e
1 changed files with 33 additions and 0 deletions
33
playbooks/templates/apprise-compose.yml
Normal file
33
playbooks/templates/apprise-compose.yml
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue