fix: inject secrets from Consul KV via Nomad template (not baked in image)
Some checks failed
Build and Deploy / deploy (push) Failing after 5s
Some checks failed
Build and Deploy / deploy (push) Failing after 5s
This commit is contained in:
@@ -34,6 +34,18 @@ job "tink-demo" {
|
||||
ports = ["http"]
|
||||
}
|
||||
|
||||
template {
|
||||
data = <<EOH
|
||||
TINK_CLIENT_ID="{{ key "tink-demo/TINK_CLIENT_ID" }}"
|
||||
TINK_CLIENT_SECRET="{{ key "tink-demo/TINK_CLIENT_SECRET" }}"
|
||||
TINK_REDIRECT_URI="https://tink-demo.i80.dk/callback"
|
||||
APP_BASE_URL="https://tink-demo.i80.dk"
|
||||
DEMO_MODE="false"
|
||||
EOH
|
||||
destination = "secrets/app.env"
|
||||
env = true
|
||||
}
|
||||
|
||||
resources {
|
||||
cpu = 256
|
||||
memory = 256
|
||||
|
||||
Reference in New Issue
Block a user