compose.yaml erneut hinzugefügt
This commit is contained in:
Executable
+28
@@ -0,0 +1,28 @@
|
||||
services:
|
||||
eclipse-mosquitto:
|
||||
labels:
|
||||
- com.hanold.environment=production
|
||||
- wud.watch=true
|
||||
restart: unless-stopped
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 64M
|
||||
stdin_open: true
|
||||
tty: true
|
||||
ports:
|
||||
- 9883:1883
|
||||
volumes:
|
||||
- ./config:/mosquitto/config
|
||||
- ./data:/mosquitto/data
|
||||
- ./log:/mosquitto/log
|
||||
image: eclipse-mosquitto:latest
|
||||
container_name: mqtt
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD-SHELL
|
||||
- nc -z localhost 1883
|
||||
interval: 20s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
networks: {}
|
||||
Reference in New Issue
Block a user