moving mqtt out of ha setup
This commit is contained in:
@@ -14,11 +14,7 @@ services:
|
|||||||
privileged: true
|
privileged: true
|
||||||
network_mode: host
|
network_mode: host
|
||||||
depends_on:
|
depends_on:
|
||||||
# - mariadb
|
|
||||||
- postgres
|
- postgres
|
||||||
# - mariadb_1x
|
|
||||||
- mosquitto
|
|
||||||
# - zigbee2mqtt
|
|
||||||
labels:
|
labels:
|
||||||
# Only include tags that look like X.Y.Z
|
# Only include tags that look like X.Y.Z
|
||||||
- "wud.tag.include=^\\d+\\.\\d+\\.\\d+$$"
|
- "wud.tag.include=^\\d+\\.\\d+\\.\\d+$$"
|
||||||
@@ -39,24 +35,6 @@ services:
|
|||||||
- "wud.tag.include=^\\d+-alpine$$"
|
- "wud.tag.include=^\\d+-alpine$$"
|
||||||
- "wud.watch.digest=true"
|
- "wud.watch.digest=true"
|
||||||
|
|
||||||
mosquitto:
|
|
||||||
container_name: mosquitto
|
|
||||||
# image: eclipse-mosquitto:2.0.21
|
|
||||||
image: eclipse-mosquitto:1.6.15
|
|
||||||
restart: always
|
|
||||||
ports:
|
|
||||||
- 1883:1883
|
|
||||||
- 9001:9001
|
|
||||||
volumes:
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
- mosquitto_data:/mosquitto/data
|
|
||||||
- ./mosq_config:/mosquitto/config:ro
|
|
||||||
- ./mosq_log:/mosquitto/log
|
|
||||||
# - /srv/docker/mosquitto/config:/mosquitto/config
|
|
||||||
# - /srv/docker/mosquitto/log:/mosquitto/log
|
|
||||||
environment:
|
|
||||||
TZ: ${TZ}
|
|
||||||
|
|
||||||
nodered:
|
nodered:
|
||||||
image: nodered/node-red:${NODEREDTAG}
|
image: nodered/node-red:${NODEREDTAG}
|
||||||
container_name: nodered
|
container_name: nodered
|
||||||
@@ -80,4 +58,3 @@ volumes:
|
|||||||
ha-postgres-db:
|
ha-postgres-db:
|
||||||
name: ha-postgres-db
|
name: ha-postgres-db
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user