forked from community/entgra-emqx-docker
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
449 B
15 lines
449 B
FROM emqx/emqx:4.4.11
|
|
|
|
ARG STATIC_CONFIG_PATH=/opt/emqx/lib/emqx_dashboard-4.4.10/priv/www/static/
|
|
|
|
# Copy static files
|
|
COPY /static/css/* ${STATIC_CONFIG_PATH}/css/
|
|
COPY /static/img/* ${STATIC_CONFIG_PATH}/img/
|
|
|
|
# Copy configuration and data files
|
|
COPY /configs/emqx_exhook.conf /opt/emqx/etc/plugins/
|
|
COPY /data/loaded_plugins /opt/emqx/data/
|
|
|
|
EXPOSE 1883 8083 8084 8883 11883 18083 4370 5369
|
|
|
|
ENTRYPOINT ["sh", "/opt/emqx/bin/emqx", "foreground"] |