emqxarchive / emqx-docker

This repository is no longer maintained, please go to https://github.com/emqx/emqx-rel/tree/master/deploy/docker
Apache License 2.0
235 stars 162 forks source link

EMQ_MQTT__MAX_PACKET_SIZE not in emq.conf #6

Closed mruepp closed 7 years ago

mruepp commented 7 years ago

BUG REPORT

Expected behavior

Specifying EMQ_MQTT__MAX_PACKET_SIZE=128KB should be reflected in the emq.conf in the docker container.

Actual behavior

When specifying EMQ_MQTT__MAX_PACKET_SIZE in both formats: EMQ_MQTT__MAX_PACKET_SIZE EMQ_MQTT_MAX_PACKET_SIZE

in docker-compose in the following variants:

environment:

it doesn´t get written into emq.conf into the container.

EMQ version

Newest master

Docker version

Which docker-engine version?

Docker version 17.03.0-ce, build 60ccb22

System

Linux docker01.b.fir.io 3.10.0-514.10.2.el7.x86_64 #1 SMP Fri Mar 3 00:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

Hardware

VM

turtleDeng commented 7 years ago

docker

sudo docker run --rm -ti --name emq -e EMQ_MQTT__MAX_PACKET_SIZE="600KB" emq:latest

vowstar commented 7 years ago

I've test, it written to config file.