mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
15 lines
343 B
YAML
15 lines
343 B
YAML
version: "3.8"
|
|
services:
|
|
nanomq:
|
|
image: emqx/nanomq:0.21-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
|