appstore-1panel/apps/emqx/5.1.5/docker-compose.yml
2023-08-17 11:09:10 +08:00

22 lines
461 B
YAML

version: '3'
services:
emqx:
image: emqx/emqx:5.1.5
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_8081}:8081
volumes:
- ./data:/opt/emqx/data
- ./log:/opt/emqx/log
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true