mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2025-12-14 18:34:53 +01:00
build
This commit is contained in:
23
__swarm/mosquitto/mosquitto-swarm.yml
Normal file
23
__swarm/mosquitto/mosquitto-swarm.yml
Normal file
@@ -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:
|
||||
Reference in New Issue
Block a user