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:
@@ -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
@@ -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}" }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user