Files

20 lines
519 B
Plaintext
Raw Permalink Normal View History

# NATS with JetStream: portal's records, events and projections live
# here. The password is NATS_PASSWORD from the container's environment
# (nats.env, written by the deploy workflow from the org secret).
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 = [
{ user: "portal", password: $NATS_PASSWORD }
]
}
jetstream {
store_dir: /data
}