Open port 443. For certificates search Openssl generate certificates
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| FROM emqx:5.1.6
ENV SECRET_DASHBOARD=secret-1234
ENV EMQX_DASHBOARD__DEFAULT_USERNAME=admin ENV EMQX_DASHBOARD__DEFAULT_PASSWORD=$SECRET_DASHBOARD
ENV EMQX_DASHBOARD__LISTENERS__HTTP__BIND=0 ENV EMQX_DASHBOARD__LISTENERS__HTTPS__BIND=443 ENV EMQX_DASHBOARD__LISTENERS__HTTPS__CERTFILE=/ssl/fullchain.pem ENV EMQX_DASHBOARD__LISTENERS__HTTPS__KEYFILE=/ssl/privkey.pem
COPY ssl /ssl/
|