Files

43 lines
928 B
YAML

services:
apprise:
image: caronc/apprise:latest
container_name: apprise
hostname: apprise
restart: unless-stopped
environment:
APPRISE_STATEFUL_MODE: simple
APPRISE_WORKER_COUNT: "1"
APPRISE_DEFAULT_FORMAT: text
TZ: Europe/Berlin
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/status"]
interval: 5s
timeout: 3s
retries: 5
77thevcalntfysrv:
build: .
container_name: 77thEvCalNtfySrv
restart: unless-stopped
env_file:
- path: .env
required: false
environment:
PORT: 3000
DB_PATH: /app/data/events.sqlite
apprise_host: apprise
apprise_port: 8000
apprise_https: "false"
depends_on:
apprise:
condition: service_healthy
links:
- apprise
# ports:
# - "${HOST_PORT:-3000}:3000"
volumes:
- ./data:/app/data
volumes:
event-data: