diff options
author | Alex Auvolat <alex@adnab.me> | 2021-01-15 19:34:33 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-01-15 19:34:33 +0100 |
commit | a6b23f5713cc5d211a95aa1a614b63011f8ca4cc (patch) | |
tree | f15495175fa80122ea9b128b0609cf0dcbc4b740 /app | |
parent | 52c141e5fc731ccf8e65320e1d4666c7591ddee5 (diff) | |
download | infrastructure-a6b23f5713cc5d211a95aa1a614b63011f8ca4cc.tar.gz infrastructure-a6b23f5713cc5d211a95aa1a614b63011f8ca4cc.zip |
upgrade garage to 0.1.1
Diffstat (limited to 'app')
-rw-r--r-- | app/config/configuration/garage/garage.toml | 11 | ||||
-rw-r--r-- | app/deployment/garage.hcl | 3 |
2 files changed, 12 insertions, 2 deletions
diff --git a/app/config/configuration/garage/garage.toml b/app/config/configuration/garage/garage.toml index 51ae81f..4d08cf2 100644 --- a/app/config/configuration/garage/garage.toml +++ b/app/config/configuration/garage/garage.toml @@ -8,7 +8,12 @@ rpc_bind_addr = "[::]:3901" consul_host = "consul.service.2.cluster.deuxfleurs.fr:8500" consul_service_name = "garage-rpc" -bootstrap_peers = [ ] +bootstrap_peers = [] + +max_concurrent_rpc_requests = 12 +data_replication_factor = 3 +meta_replication_factor = 3 +meta_epidemic_fanout = 3 [rpc_tls] ca_cert = "/garage/garage-ca.crt" @@ -19,3 +24,7 @@ node_key = "/garage/garage.key" s3_region = "garage" api_bind_addr = "[::]:3900" +[s3_web] +bind_addr = "[::]:3902" +root_domain = ".web.deuxfleurs.fr" +index = "index.html" diff --git a/app/deployment/garage.hcl b/app/deployment/garage.hcl index d4c7c9e..fe0b641 100644 --- a/app/deployment/garage.hcl +++ b/app/deployment/garage.hcl @@ -12,13 +12,14 @@ job "garage" { network { port "s3" { static = 3900 } port "rpc" { static = 3901 } + port "web" { static = 3902 } } task "server" { driver = "docker" config { advertise_ipv6_address = true - image = "lxpz/garage_amd64:4" + image = "lxpz/garage_amd64:v0.1.1" network_mode = "host" volumes = [ "/mnt/storage/garage/data:/garage/data", |