Files

34 lines
960 B
YAML

services:
pangolin-sentinel:
build:
context: .
dockerfile: Dockerfile
image: pangolin-sentinel:latest
container_name: pangolin-sentinel
restart: unless-stopped
ports:
- "8888:8888"
volumes:
# Persistent app data (settings, SSH keys, job history, backup index)
- ./data:/data
# Backup storage directory (archives pulled from VPS)
- ./backups:/backups
# For Unraid server, map array paths:
# - /mnt/user/appdata/pangolin-sentinel:/data
# - /mnt/user/backups/pangolin:/backups
environment:
- TZ=UTC
- PORT=8888
- HOST=0.0.0.0
- DATA_DIR=/data
- BACKUP_DIR=/backups
# Optional: set PUID and PGID for Unraid (typically 99 and 100)
# - PUID=99
# - PGID=100
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8888/api/auth/status"]
interval: 30s
timeout: 5s
retries: 3
start_period: 10s