Fix Garage service: TOML config and healthcheck (#7510)

This commit is contained in:
Andras Bacsai 2025-12-05 14:47:31 +01:00 committed by GitHub
commit 8ba7533bdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,8 +35,7 @@ services:
compression_level = 1
block_size = "1M"
[rpc]
bind_addr = "[::]:3901"
rpc_bind_addr = "[::]:3901"
rpc_secret_file = "env:GARAGE_RPC_SECRET"
bootstrap_peers = []
@ -54,7 +53,7 @@ services:
admin_token_file = "env:GARAGE_ADMIN_TOKEN"
metrics_token_file = "env:GARAGE_METRICS_TOKEN"
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3903/health"]
test: ["CMD", "/garage", "stats", "-a"]
interval: 10s
timeout: 5s
retries: 5