1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00
dockerfiles/nanomq/docker-compose.yml
2024-07-22 11:58:43 +08:00

15 lines
343 B
YAML

version: "3.8"
services:
nanomq:
image: emqx/nanomq:0.22-full
command: --conf /etc/nanomq/nanomq.conf
ports:
- "1883:1883" # mqtt
- "8081:8081" # api
- "8083:8083" # ws
volumes:
- ./data/etc:/etc/nanomq
- ./data/log:/var/log/nanomq
- ./data/var:/var/lib/nanomq
restart: unless-stopped