Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
update conf nats
Browse files Browse the repository at this point in the history
  • Loading branch information
basilelt committed Jun 24, 2024
1 parent fb4577e commit 69ff3e5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Docker/NATS/config/nats.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,14 @@ listen: 0.0.0.0:4222
authorization {
# Users and their permissions
users [
{ user: $NATS_USER, password: $NATS_PASSWORD, permissions: {
publish: { allow: ["*"] },
subscribe: { allow: ["*"] }
{ user: $NATS_USER, password: $NATS_PASSWORD, permissions:
{
subscribe: {
allow: [">"]
},
publish: {
allow: [">"]
}
}
}
]
Expand Down

0 comments on commit 69ff3e5

Please sign in to comment.