nats: the tools read their credential from a word of their own, since the runtime strips MESH_BROKER_FILE (issue 1952 N1-N3)

This commit is contained in:
2026-10-29 21:56:08 +01:00
parent 2669fc29d8
commit 48502c4ade
4 changed files with 9 additions and 8 deletions
+2 -1
View File
@@ -201,7 +201,8 @@
"MESH_NATS_MONITOR": "http://127.0.0.1:8222",
"MESH_NATS_CONTAINER": "mesh-broker-nats",
"MESH_NATS_USERS_FILE": "/etc/nats/accounts.conf",
"MESH_NATS_SNAPSHOTS_DIR": "${dir:snapshots}"
"MESH_NATS_SNAPSHOTS_DIR": "${dir:snapshots}",
"NATS_TOOLS_CREDENTIAL": "${dir:mesh-state}/broker-nats-tools"
}
},
{