forked from jchomaz/Vulture
feat: Introduce Quadlet units for dev/prod VApp containers and a custom network, update existing container configurations, and enhance documentation.
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
[Unit]
|
||||
Description=Broker MQTT NanoMQ
|
||||
Requires=vulture.pod
|
||||
After=vulture.pod
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Container]
|
||||
Image=docker.io/emqx/nanomq:latest
|
||||
ContainerName=nanomq
|
||||
Pod=vulture
|
||||
# Correspond à -v ./VContainers/MQTT/config/nanomq.conf:/etc/nanomq.conf
|
||||
Volume=./VContainers/MQTT/config/nanomq.conf:/etc/nanomq.conf
|
||||
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=vulture.pod
|
||||
WantedBy=default.target
|
||||
|
||||
Reference in New Issue
Block a user