2026-09-22 19:06:31 +02:00
|
|
|
# NATS with JetStream: portal's records, events and projections live
|
2026-11-07 16:44:51 +01:00
|
|
|
# here. The password is NATS_PASSWORD from the container's environment
|
|
|
|
|
# (nats.env, written by the deploy workflow from the org secret).
|
2026-09-22 19:06:31 +02:00
|
|
|
port: 4222
|
|
|
|
|
http_port: 8222
|
|
|
|
|
|
|
|
|
|
max_payload: 8388608
|
|
|
|
|
max_connections: 1000
|
|
|
|
|
|
|
|
|
|
# User and password rather than a token: URL credentials
|
|
|
|
|
# (nats://user:pass@host) behave the same in every client library.
|
|
|
|
|
authorization {
|
|
|
|
|
users = [
|
2026-11-07 16:44:51 +01:00
|
|
|
{ user: "portal", password: $NATS_PASSWORD }
|
2026-09-22 19:06:31 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
jetstream {
|
|
|
|
|
store_dir: /data
|
|
|
|
|
}
|