mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-08-28 05:27:41 +00:00
Improve Docker Compose deployment defaults
This commit is contained in:
parent
f538ece6c0
commit
068cafee1c
1 changed files with 8 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue