Add volcanic-agents token user

Second entry in authorization.users with token auth, no permissions
block (so full admin). Token is supplied via NATS_VOLCANIC_AGENTS_TOKEN
Coolify env var and substituted into the inline config at compose parse
time. Local credentials.local.json (gitignored) holds the connection
details for both users.
This commit is contained in:
2026-08-26 07:08:56 +00:00
parent 69033acd74
commit 1b069c6682
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,4 +1,5 @@
deploy.json deploy.json
credentials.local.json
# .NET build output (for examples/csharp) # .NET build output (for examples/csharp)
bin/ bin/
+2 -1
View File
@@ -39,7 +39,8 @@ configs:
authorization { authorization {
users = [ users = [
{ user: "${NATS_USER}", password: "${NATS_PASSWORD}" } { user: "${NATS_USER}", password: "${NATS_PASSWORD}" },
{ user: "volcanic-agents", token: "${NATS_VOLCANIC_AGENTS_TOKEN}" }
] ]
} }