Files
prayer-app/docker-compose.yml
T
Claude ea0f84806d fix: use bind mount for persistent data on ZimaOS
Replace named volume with direct bind mount to
/media/ZimaOS-HD/AppData/Prayer/Data so data survives
container recreation without relying on Docker volume management.
2026-07-18 23:44:02 +00:00

19 lines
416 B
YAML

services:
prayer:
image: ghcr.io/nmemmert/prayer:latest
build:
context: .
ports:
- "3000:4000"
volumes:
- /media/ZimaOS-HD/AppData/Prayer/Data:/data
environment:
- DATA_DIR=/data
- PORT=4000
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:4000/api/prayers"]
interval: 30s
timeout: 5s
retries: 3