forked from Deuxfleurs/nixcfg
Add admin token to garage staging
This commit is contained in:
parent
6639908fbd
commit
2d9adf82d0
2 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue