Fix entrypoint
This commit is contained in:
parent
d535eb5d0d
commit
fb4e658628
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ services:
|
||||||
echo ''listener 1883'' > /mosquitto/config/mosquitto.conf;
|
echo ''listener 1883'' > /mosquitto/config/mosquitto.conf;
|
||||||
fi &&
|
fi &&
|
||||||
echo ''require_certificate ''$REQUIRE_CERTIFICATE >> /mosquitto/config/mosquitto.conf &&
|
echo ''require_certificate ''$REQUIRE_CERTIFICATE >> /mosquitto/config/mosquitto.conf &&
|
||||||
echo ''allow_anonymous ''$ALLOW_ANONYMOUS >> /mosquitto/config/mosquitto.conf &&
|
echo ''allow_anonymous ''$ALLOW_ANONYMOUS >> /mosquitto/config/mosquitto.conf;
|
||||||
if [ -n ''$SERVICE_USER_MOSQUITTO''] && [ -n ''$SERVICE_PASSWORD_MOSQUITTO'' ]; then
|
if [ -n ''$SERVICE_USER_MOSQUITTO''] && [ -n ''$SERVICE_PASSWORD_MOSQUITTO'' ]; then
|
||||||
echo ''password_file /mosquitto/config/passwords'' >> /mosquitto/config/mosquitto.conf &&
|
echo ''password_file /mosquitto/config/passwords'' >> /mosquitto/config/mosquitto.conf &&
|
||||||
touch /mosquitto/config/passwords &&
|
touch /mosquitto/config/passwords &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue