1
0
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:
2025-11-30 11:10:21 +01:00
parent 31911a56d2
commit 01d38545ac
6 changed files with 130 additions and 24 deletions

View File

@@ -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