fix:(mosquitto): configs

This commit is contained in:
Nicolas Meienberger 2024-02-25 11:44:47 +01:00
parent 353ad6faec
commit f49d02f269
4 changed files with 30 additions and 34 deletions

View File

@ -1,6 +1,26 @@
version: '3.7' version: '3.7'
services: services:
eclipse-mosquitto:
image: eclipse-mosquitto:2.0.18
container_name: eclipse-mosquitto
environment:
- TZ=${TZ}
- MQTT_DYNSEC_ADMIN_USER=admin
- MQTT_DYNSEC_ADMIN_PASSWORD=${MQTT_ADMIN_PASSWORD}
ports:
- 1883:1883
command: ['/dynsec-setup.sh', '/usr/sbin/mosquitto', '-c', '/mosquitto/config/mosquitto.conf']
expose:
- 1883
volumes:
- ${APP_DATA_DIR}/data/data:/mosquitto/data
- ${APP_DATA_DIR}/data/config:/mosquitto/config
- ${APP_DATA_DIR}/data/scripts/dynsec-setup.sh:/dynsec-setup.sh
restart: unless-stopped
networks:
- tipi_main_network
mosquitto-management-center: mosquitto-management-center:
image: cedalo/management-center:dev image: cedalo/management-center:dev
container_name: mosquitto-management-center container_name: mosquitto-management-center
@ -18,7 +38,7 @@ services:
expose: expose:
- 8088 - 8088
depends_on: depends_on:
- mosquitto-broker - eclipse-mosquitto
networks: networks:
- tipi_main_network - tipi_main_network
restart: unless-stopped restart: unless-stopped
@ -47,22 +67,3 @@ services:
traefik.http.routers.mosquitto-local.entrypoints: websecure traefik.http.routers.mosquitto-local.entrypoints: websecure
traefik.http.routers.mosquitto-local.service: mosquitto-web traefik.http.routers.mosquitto-local.service: mosquitto-web
traefik.http.routers.mosquitto-local.tls: true traefik.http.routers.mosquitto-local.tls: true
mosquitto-broker:
image: eclipse-mosquitto:2.0.18
container_name: mosquitto-broker
environment:
- TZ=${TZ}
- MQTT_DYNSEC_ADMIN_USER=admin
- MQTT_DYNSEC_ADMIN_PASSWORD=${MQTT_ADMIN_PASSWORD}
ports:
- 1883:1883
command: ["/dynsec-setup.sh", "/usr/sbin/mosquitto", "-c", "/mosquitto/config/mosquitto.conf"]
expose:
- 1883
volumes:
- ${APP_DATA_DIR}/data/data:/mosquitto/data
- ${APP_DATA_DIR}/data/config:/mosquitto/config
- ${APP_DATA_DIR}/data/scripts/dynsec-setup.sh:/dynsec-setup.sh
restart: unless-stopped
networks:
- tipi_main_network

View File

@ -6,11 +6,8 @@
"exposable": true, "exposable": true,
"id": "zigbee2mqtt", "id": "zigbee2mqtt",
"tipi_version": 1, "tipi_version": 1,
"version": "1.35", "version": "1.35.3",
"categories": [ "categories": ["utilities", "automation"],
"utilities",
"automation"
],
"description": "Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges", "description": "Zigbee to MQTT bridge, get rid of your proprietary Zigbee bridges",
"short_desc": "Zigbee to MQTT bridge", "short_desc": "Zigbee to MQTT bridge",
"author": "@Koenkk", "author": "@Koenkk",
@ -25,8 +22,5 @@
"env_variable": "Z2M_DEVICE" "env_variable": "Z2M_DEVICE"
} }
], ],
"supported_architectures": [ "supported_architectures": ["arm64", "amd64"]
"arm64",
"amd64"
]
} }

View File

@ -1,10 +1,9 @@
version: "3.7" version: '3.7'
services: services:
zigbee2mqtt: zigbee2mqtt:
container_name: zigbee2mqtt container_name: zigbee2mqtt
image: koenkk/zigbee2mqtt:1.35 image: koenkk/zigbee2mqtt:1.35.3
environment: environment:
- TZ=${TZ} - TZ=${TZ}
volumes: volumes:
@ -16,6 +15,8 @@ services:
expose: expose:
- 8080 - 8080
restart: unless-stopped restart: unless-stopped
networks:
- tipi_main_network
labels: labels:
# Main # Main
traefik.enable: true traefik.enable: true

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 24 KiB