Add admin token to garage staging

This commit is contained in:
Alex 2022-05-23 19:54:20 +02:00
parent 6639908fbd
commit 2d9adf82d0
Signed by: lx
GPG key ID: 0E496D15096376BE
2 changed files with 2 additions and 1 deletions

View file

@ -27,4 +27,5 @@ index = "index.html"
[admin] [admin]
api_bind_addr = "0.0.0.0:3909" api_bind_addr = "0.0.0.0:3909"
admin_token = "{{ key "secrets/garage-staging/admin_token" | trimSpace }}"
trace_sink = "http://{{ env "attr.unique.network.ip-address" }}:4317" trace_sink = "http://{{ env "attr.unique.network.ip-address" }}:4317"

View file

@ -29,7 +29,7 @@ job "garage-staging" {
driver = "docker" driver = "docker"
config { config {
image = "dxflrs/amd64_garage:v0.7.1-k2v" image = "dxflrs/amd64_garage:v0.7.1-admin-k2v-2"
command = "/garage" command = "/garage"
args = [ "server" ] args = [ "server" ]
network_mode = "host" network_mode = "host"