Improve Docker Compose deployment defaults

This commit is contained in:
Bryan Helmkamp 2026-05-09 18:59:25 -04:00
parent f538ece6c0
commit 068cafee1c
No known key found for this signature in database

View file

@ -1,15 +1,21 @@
services:
fabro:
image: ghcr.io/fabro-sh/fabro:nightly
image: ghcr.io/fabro-sh/fabro:${FABRO_VERSION:-nightly}
restart: unless-stopped
ports:
- "32276:32276"
- "${FABRO_PORT:-32276}:32276"
volumes:
- fabro-storage:/storage
- /var/run/docker.sock:/var/run/docker.sock
env_file:
- path: .env
required: false
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:32276/health"]
interval: 10s
timeout: 5s
retries: 12
start_period: 20s
volumes:
fabro-storage: