This commit is contained in:
Jared Furlow 2025-05-11 09:20:14 -05:00
parent bc75d1c1ce
commit 280e962a0f
3 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
FROM alpine:latest FROM alpine:latest
COPY . . COPY . .
CMD 'envsubst "$(env)" < garage.toml > garage.toml & cp garage.toml /etc/garage.toml' CMD 'envsubst "$(env)" < garage.toml > garage.toml'
FROM dxflrs/garage:v1.1.0 FROM dxflrs/garage:v1.1.0
COPY --from=0 garage.toml /etc/garage.toml COPY --from=0 garage.toml /etc/garage.toml

View File

@ -10,7 +10,7 @@ services:
- /mnt/Samsung1TB/garage-fs/meta:/opt/prod/garage-fs/meta - /mnt/Samsung1TB/garage-fs/meta:/opt/prod/garage-fs/meta
- /mnt/Samsung1TB/garage-fs/data:/opt/prod/garage-fs/data - /mnt/Samsung1TB/garage-fs/data:/opt/prod/garage-fs/data
healthcheck: healthcheck:
test: ["CMD", "nc", "-z", "127.0.0.1", "3900"] test: ["CMD", "/garage", "status"]
interval: 5s interval: 5s
timeout: 10s timeout: 10s
retries: 15 retries: 15

View File

@ -7,16 +7,16 @@ replication_factor = 3
compression_level = 2 compression_level = 2
rpc_bind_addr = "[::]:3901" rpc_bind_addr = "127.0.0.1:3901"
rpc_public_addr = "127.0.0.1:3901" rpc_public_addr = "127.0.0.1:3901"
rpc_secret = "${GARAGE_RPC_SECRET}" rpc_secret = "${GARAGE_RPC_SECRET}"
[s3_api] [s3_api]
s3_region = "garage" s3_region = "garage"
api_bind_addr = "[::]:3900" api_bind_addr = "127.0.0.1:3900"
root_domain = "garage-ikea.jdf2.org" root_domain = "garage-ikea.jdf2.org"
[s3_web] [s3_web]
bind_addr = "[::]:3902" bind_addr = "127.0.0.1:3902"
root_domain = "garage-ikea.jdf2.org" root_domain = "garage-ikea.jdf2.org"
index = "index.html" index = "index.html"