Files
nfoguard/docker-compose.example.yml
T
2025-09-07 11:30:30 -04:00

28 lines
620 B
YAML

services:
NFOguard:
# image: ghcr.io/sbcrumb/nfoguard:latest # Use this once package is public
build: . # Temporary local build
container_name: NFOguard
restart: unless-stopped
user: "1000:1000"
networks:
- saltbox
ports:
- "8085:8080"
volumes:
- /mnt/unionfs/Media/:/media:rw
- ./data:/app/data:rw
- ./.env:/app/.env:ro
env_file:
- .env
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
saltbox:
external: true