FROM emqx:5.1.6
ENV SECRET_CLIENTS_JWT=secret-9876
ENV EMQX_LISTENERS__TCP__CLIENTS_JWT__BIND=0.0.0.0:1883 ENV EMQX_LISTENERS__TCP__CLIENTS_JWT__AUTHENTICATION__1__MECHANISM=jwt ENV EMQX_LISTENERS__TCP__CLIENTS_JWT__AUTHENTICATION__1__USE_JWKS=false ENV EMQX_LISTENERS__TCP__CLIENTS_JWT__AUTHENTICATION__1__ALGORITHM=hmac-based ENV EMQX_LISTENERS__TCP__CLIENTS_JWT__AUTHENTICATION__1__SECRET=$SECRET_CLIENTS_JWT
ENV EMQX_LISTENERS__SSL__CLIENTS_JWT__BIND=0.0.0.0:8883 ENV EMQX_LISTENERS__SSL__CLIENTS_JWT__AUTHENTICATION__1__MECHANISM=jwt ENV EMQX_LISTENERS__SSL__CLIENTS_JWT__AUTHENTICATION__1__USE_JWKS=false ENV EMQX_LISTENERS__SSL__CLIENTS_JWT__AUTHENTICATION__1__ALGORITHM=hmac-based ENV EMQX_LISTENERS__SSL__CLIENTS_JWT__AUTHENTICATION__1__SECRET=$SECRET_CLIENTS_JWT
|