This commit is contained in:
Jared Furlow 2025-05-10 23:10:54 -05:00
parent b1a4cf1552
commit bc75d1c1ce
2 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,6 @@
FROM alpine:latest FROM alpine:latest
COPY . . COPY . .
CMD 'envsubst "$(env)" < garage.toml > garage.toml & cp garage.toml /etc/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

@ -9,7 +9,6 @@ services:
volumes: volumes:
- /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
- ./garage.toml:/etc/garage.toml
healthcheck: healthcheck:
test: ["CMD", "nc", "-z", "127.0.0.1", "3900"] test: ["CMD", "nc", "-z", "127.0.0.1", "3900"]
interval: 5s interval: 5s