Modify mosquitto
This commit is contained in:
parent
d8c1efcca0
commit
aa0a7686af
|
|
@ -16,6 +16,9 @@ services:
|
|||
- 8384:8384
|
||||
- 22000:22000
|
||||
- 21027:21027/udp
|
||||
networks:
|
||||
- frontend
|
||||
- backend
|
||||
restart: unless-stopped
|
||||
|
||||
milvert-nginx:
|
||||
|
|
@ -91,7 +94,7 @@ services:
|
|||
- INFLUXDB_ADMIN_PASSWORD=SECURE_PASS
|
||||
|
||||
gitea:
|
||||
image: gitea/gitea:1.9.3
|
||||
image: gitea/gitea:1.12
|
||||
container_name: gitea
|
||||
networks:
|
||||
- backend
|
||||
|
|
@ -144,7 +147,9 @@ services:
|
|||
- PGID=1000
|
||||
- TZ=Europe/Stockholm
|
||||
volumes:
|
||||
- ./mosquitto/mosquitto.conf:/mosquitto/config/mosquitto.conf
|
||||
- ./mosquitto/mosquitto.conf:/mqtt/mosquitto.conf
|
||||
- ${DIR}/mqtt/data:/mqtt/data
|
||||
- ${DIR}/mqtt/log:/mqtt/log
|
||||
labels:
|
||||
- "traefik.http.routers.mqtt.rule=Host(`mqtt.${DOMAIN}`)"
|
||||
- "traefik.http.routers.mqtt.entrypoints=mqtt"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,18 @@
|
|||
persistence true
|
||||
persistence_location /mosquitto/data/
|
||||
log_dest file /mosquitto/log/mosquitto.log
|
||||
pid_file /var/run/mosquitto.pid
|
||||
|
||||
persistence true
|
||||
persistence_location /mqtt/data/
|
||||
|
||||
user mosquitto
|
||||
|
||||
# Port to use for the default listener.
|
||||
port 1883
|
||||
|
||||
|
||||
log_dest file /mqtt/log/mosquitto.log
|
||||
log_dest stdout
|
||||
|
||||
include_dir /mqtt/config
|
||||
|
||||
listener 1883
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue