upgrade garage to 0.1.1

This commit is contained in:
Alex 2021-01-15 19:34:33 +01:00
parent 52c141e5fc
commit a6b23f5713
2 changed files with 12 additions and 2 deletions

View file

@ -10,6 +10,11 @@ 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] [rpc_tls]
ca_cert = "/garage/garage-ca.crt" ca_cert = "/garage/garage-ca.crt"
node_cert = "/garage/garage.crt" node_cert = "/garage/garage.crt"
@ -19,3 +24,7 @@ node_key = "/garage/garage.key"
s3_region = "garage" s3_region = "garage"
api_bind_addr = "[::]:3900" api_bind_addr = "[::]:3900"
[s3_web]
bind_addr = "[::]:3902"
root_domain = ".web.deuxfleurs.fr"
index = "index.html"

View file

@ -12,13 +12,14 @@ job "garage" {
network { network {
port "s3" { static = 3900 } port "s3" { static = 3900 }
port "rpc" { static = 3901 } port "rpc" { static = 3901 }
port "web" { static = 3902 }
} }
task "server" { task "server" {
driver = "docker" driver = "docker"
config { config {
advertise_ipv6_address = true advertise_ipv6_address = true
image = "lxpz/garage_amd64:4" image = "lxpz/garage_amd64:v0.1.1"
network_mode = "host" network_mode = "host"
volumes = [ volumes = [
"/mnt/storage/garage/data:/garage/data", "/mnt/storage/garage/data:/garage/data",