increase max payload in nats

This commit is contained in:
Egor Aristov 2025-01-31 14:07:11 +03:00
parent 31482d274c
commit d405e0f387
Signed by: egor3f
GPG Key ID: 40482A264AAEC85F
2 changed files with 5 additions and 1 deletions

View File

@ -25,5 +25,7 @@ services:
nats: nats:
image: nats:2.10 image: nats:2.10
command: "-js" command: "-config /nats_config.yml"
volumes:
- ./nats_config.yml:/nats_config.yml:ro
restart: unless-stopped restart: unless-stopped

2
deploy/nats_config.yml Normal file
View File

@ -0,0 +1,2 @@
jetstream: enabled
max_payload: 4MB