From 940f6a44b4d1bb6248b50333e9da9c00fc18a210 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 1 Dec 2025 22:09:44 +0100 Subject: [PATCH] build --- __swarm/mosquitto/mosquitto-swarm.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 __swarm/mosquitto/mosquitto-swarm.yml diff --git a/__swarm/mosquitto/mosquitto-swarm.yml b/__swarm/mosquitto/mosquitto-swarm.yml new file mode 100644 index 0000000..f2c294c --- /dev/null +++ b/__swarm/mosquitto/mosquitto-swarm.yml @@ -0,0 +1,23 @@ +name: mosquitto +services: + mosquitto: + image: ${DOCKER_REGISTRY:-}eclipse-mosquitto + mem_limit: 1g + network_mode: host + volumes: + - conf:/mosquitto/config + - data:/mosquitto/data + - log:/mosquitto/log + deploy: + labels: + com.centurylinklabs.watchtower.enable: 'true' + wud.watch: 'true' + wud.watch.digest: 'true' + replicas: 1 + placement: + constraints: + - node.role == manager +volumes: + conf: + data: + log: \ No newline at end of file