1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-26 13:48:53 +08:00

NOISSUE - add nats conf (#1031)

* add nats conf

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>

* change max payload

Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
This commit is contained in:
Mirko Teodorovic 2020-02-06 18:44:29 +01:00 committed by GitHub
parent b8138fac32
commit a1078e6999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -47,7 +47,10 @@ services:
nats:
image: nats:1.3.0
container_name: mainflux-nats
command: "-c /etc/nats/nats.conf"
restart: on-failure
volumes:
- ./nats/:/etc/nats
networks:
- mainflux-base-net

2
docker/nats/nats.conf Normal file
View File

@ -0,0 +1,2 @@
# maximum payload
max_payload: 268435456