From 280e962a0f80cb9a62fa14c17f28cd43857a23a1 Mon Sep 17 00:00:00 2001 From: Jared Furlow Date: Sun, 11 May 2025 09:20:14 -0500 Subject: [PATCH] Test --- Dockerfile | 2 +- docker-compose.yaml | 2 +- garage.toml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8274961..31fe6ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM alpine:latest 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 COPY --from=0 garage.toml /etc/garage.toml diff --git a/docker-compose.yaml b/docker-compose.yaml index d9959f9..5bd381d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -10,7 +10,7 @@ services: - /mnt/Samsung1TB/garage-fs/meta:/opt/prod/garage-fs/meta - /mnt/Samsung1TB/garage-fs/data:/opt/prod/garage-fs/data healthcheck: - test: ["CMD", "nc", "-z", "127.0.0.1", "3900"] + test: ["CMD", "/garage", "status"] interval: 5s timeout: 10s retries: 15 \ No newline at end of file diff --git a/garage.toml b/garage.toml index 343b012..f989432 100644 --- a/garage.toml +++ b/garage.toml @@ -7,16 +7,16 @@ replication_factor = 3 compression_level = 2 -rpc_bind_addr = "[::]:3901" +rpc_bind_addr = "127.0.0.1:3901" rpc_public_addr = "127.0.0.1:3901" rpc_secret = "${GARAGE_RPC_SECRET}" [s3_api] s3_region = "garage" -api_bind_addr = "[::]:3900" +api_bind_addr = "127.0.0.1:3900" root_domain = "garage-ikea.jdf2.org" [s3_web] -bind_addr = "[::]:3902" +bind_addr = "127.0.0.1:3902" root_domain = "garage-ikea.jdf2.org" index = "index.html" \ No newline at end of file