forked from Deuxfleurs/infrastructure
upgrade garage to 0.1.1
This commit is contained in:
parent
52c141e5fc
commit
a6b23f5713
2 changed files with 12 additions and 2 deletions
|
@ -10,6 +10,11 @@ consul_service_name = "garage-rpc"
|
|||
|
||||
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"
|
||||
node_cert = "/garage/garage.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"
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue