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

15 lines
343 B
YAML
Raw Normal View History

2024-05-20 11:43:35 +02:00
version: "3.8"
services:
nanomq:
2024-05-20 12:07:51 +02:00
image: emqx/nanomq:0.21-full
2024-05-20 11:43:35 +02:00
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