forked from jchomaz/Vulture
20 lines
449 B
Plaintext
20 lines
449 B
Plaintext
[Unit]
|
|
Description=Broker MQTT NanoMQ
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
|
|
[Container]
|
|
Image=docker.io/emqx/nanomq:latest
|
|
ContainerName=nanomq
|
|
Network=vulture-net.network
|
|
PublishPort=1883:1883
|
|
PublishPort=9001:9001
|
|
PublishPort=8081:8081
|
|
PublishPort=8083:8083
|
|
PublishPort=8883:8883
|
|
Volume=%h/Src/Fablab/Vulture/VContainers/MQTT/config/nanomq.conf:/etc/nanomq.conf:Z
|
|
Exec=--conf /etc/nanomq.conf
|
|
|
|
[Install]
|
|
WantedBy=default.target
|