Test
This commit is contained in:
parent
bc75d1c1ce
commit
280e962a0f
@ -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
|
||||
|
||||
@ -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
|
||||
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user