Files
sor/deploy/k8s/configmap-nats.yaml

20 lines
511 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
annotations:
argocd.argoproj.io/sync-wave: "0"
name: nats-config
namespace: stone-server
data:
nats.conf: |
# JetStream (replaces -js CLI flag)
jetstream: true
# HTTP monitoring port (replaces -m 8222 CLI flag)
http_port: 8222
# Maximum message payload size.
# Default is 1 MB which is too small for content.sync responses
# that include full card DTOs with AbilitiesJson / EffectsJson fields.
max_payload: 8388608 # 8 MB