Garage v0.7.1-k2v on staging

This commit is contained in:
Alex 2022-05-18 22:28:13 +02:00
parent e657ebd0a0
commit 6639908fbd
Signed by untrusted user: lx
GPG key ID: 0E496D15096376BE
2 changed files with 28 additions and 1 deletions

View file

@ -17,6 +17,9 @@ bootstrap_peers = []
s3_region = "garage-staging" s3_region = "garage-staging"
api_bind_addr = "0.0.0.0:3990" api_bind_addr = "0.0.0.0:3990"
[k2v_api]
api_bind_addr = "0.0.0.0:3993"
[s3_web] [s3_web]
bind_addr = "0.0.0.0:3992" bind_addr = "0.0.0.0:3992"
root_domain = ".garage-staging-web.home.adnab.me" root_domain = ".garage-staging-web.home.adnab.me"

View file

@ -15,6 +15,7 @@ job "garage-staging" {
port "s3" { static = 3990 } port "s3" { static = 3990 }
port "rpc" { static = 3991 } port "rpc" { static = 3991 }
port "web" { static = 3992 } port "web" { static = 3992 }
port "k2v" { static = 3993 }
port "admin" { static = 3909 } port "admin" { static = 3909 }
} }
@ -28,7 +29,7 @@ job "garage-staging" {
driver = "docker" driver = "docker"
config { config {
image = "dxflrs/amd64_garage:v0.7.1" image = "dxflrs/amd64_garage:v0.7.1-k2v"
command = "/garage" command = "/garage"
args = [ "server" ] args = [ "server" ]
network_mode = "host" network_mode = "host"
@ -75,6 +76,29 @@ job "garage-staging" {
} }
} }
service {
tags = [
"garage-staging-k2v-api",
"tricot k2v-staging.home.adnab.me",
"tricot-add-header Access-Control-Allow-Origin *",
]
port = 3993
address_mode = "driver"
name = "garage-staging-k2v-api"
check {
type = "tcp"
port = 3993
address_mode = "driver"
interval = "60s"
timeout = "5s"
check_restart {
limit = 3
grace = "90s"
ignore_warnings = false
}
}
}
service { service {
tags = ["garage-staging-rpc"] tags = ["garage-staging-rpc"]
port = 3991 port = 3991