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 untrusted user: lx
GPG key ID: 0E496D15096376BE
2 changed files with 2 additions and 1 deletions

View file

@ -27,4 +27,5 @@ index = "index.html"
[admin]
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"

View file

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