appstore-1panel/apps/emqx/5.7.1/docker-compose.yml

22 lines
479 B
YAML
Raw Normal View History

2023-07-03 17:46:12 +08:00
services:
emqx:
image: emqx/emqx:5.7.1
2023-07-03 17:46:12 +08:00
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
user: '0'
ports:
- ${PANEL_APP_PORT_HTTP}:18083
- ${EMQX_PORT_1883}:1883
- ${EMQX_PORT_8083}:8083
- ${EMQX_PORT_8084}:8084
- ${EMQX_PORT_8883}:8883
2023-07-03 17:46:12 +08:00
volumes:
- ./data:/opt/emqx/data
- ./log:/opt/emqx/log
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true