Files
sbv/compose.yaml
T
2025-11-13 09:45:38 -07:00

25 lines
685 B
YAML

services:
sbv:
# Use pre-built image from GitHub Container Registry
# For local development, comment out 'image' and uncomment 'build: .' below
image: ghcr.io/lowcarbdev/sbv:stable
# build: .
container_name: sbv
ports:
- "8081:8081"
volumes:
# Mount data directory for persistent database storage
- ./data:/data
environment:
- PORT=8081
- DB_PATH_PREFIX=/data
- PUID=1000
- PGID=1000
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8081/api/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s