1
0
forked from jchomaz/Vulture

Quadlet (WiP)

This commit is contained in:
2025-11-30 10:23:21 +01:00
parent f0b828a615
commit 516ca23c5e
5 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Broker MQTT NanoMQ
Requires=vulture.pod
After=vulture.pod
[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
[Install]
WantedBy=vulture.pod

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Application Node.js VApp
Requires=vulture.pod
After=vulture.pod
[Container]
Image=localhost/vapp:latest
ContainerName=vapp
Pod=vulture
[Install]
WantedBy=vulture.pod

View File

@@ -0,0 +1,12 @@
[Unit]
Description=Application Node.js VNode
Requires=vulture.pod
After=vulture.pod
[Container]
Image=localhost/vnode:latest
ContainerName=vnode
Pod=vulture
[Install]
WantedBy=vulture.pod

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Pod Vulture pour le Broker MQTT et les Applications Node
Wants=network-online.target
After=network-online.target
[Pod]
# Mappings de ports : Host:Container (ces ports sont partagés par tous les conteneurs)
PublishPort=8080:80
PublishPort=1883:1883
PublishPort=8083:8083
PublishPort=8883:8883
[Install]
WantedBy=default.target