36 lines
785 B
YAML
36 lines
785 B
YAML
services:
|
|
app:
|
|
build: .
|
|
volumes:
|
|
- ./data/db:/opt/app/data/db
|
|
env_file:
|
|
- path: ./.env
|
|
required: true
|
|
depends_on:
|
|
apprise:
|
|
condition: service_healthy
|
|
links:
|
|
- apprise
|
|
apprise:
|
|
image: caronc/apprise:latest
|
|
hostname: apprise
|
|
environment:
|
|
- APPRISE_WORKER_COUNT=1
|
|
- APPRISE_STATEFUL_MODE=simple
|
|
# - PUID=$(id -u)
|
|
# - PGID=$(id -g)
|
|
volumes:
|
|
- ./data/apprise/config:/config
|
|
- ./data/apprise/plugin:/plugin
|
|
- ./data/apprise/attach:/attach
|
|
ports:
|
|
- 8000:8000
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 5
|
|
# networks:
|
|
# default:
|
|
# external: true
|
|
# name: npm |