Fix Garage service: TOML config and healthcheck (#7510)
This commit is contained in:
commit
8ba7533bdd
1 changed files with 2 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue