Migrated MQTT to internal Docker network #1
Squashed commit of the following: commit cc7419ff856867009e48aae1f1685382352a1ded Author: Ashish D'Souza <[email protected]> Date: Sun Oct 29 20:32:38 2023 -0500 Removed MQTT auth from pipeline commit ef80c5a56a9d0f5adb821bfc3e83d9f2d3726c7b Author: Ashish D'Souza <[email protected]> Date: Sun Oct 29 20:32:09 2023 -0500 Removed forced MQTT auth from source commit 4c00200f8e77c1c4c24d1e6ac9f425e1f3ed83a6 Author: Ashish D'Souza <[email protected]> Date: Sun Oct 29 20:31:35 2023 -0500 Updated configs
This commit is contained in:
1 parent
415d4e0094
commit
3642e26c7a
7 files changed
+41
-46
No files matched your search
@@ -1,7 +1,5 @@
|
||||
mqtt:
|
||||
host: mqtt
|
||||
user: '{FRIGATE_MQTT_USERNAME}'
|
||||
password: '{FRIGATE_MQTT_PASSWORD}'
|
||||
|
||||
detectors:
|
||||
cpu1:
|
||||
|
||||
+32
-35
@@ -7,6 +7,8 @@ services:
|
||||
labels:
|
||||
autoheal: 'true'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mqtt
|
||||
healthcheck:
|
||||
test: ls /media/frigate && curl -s -f http://localhost:5000 -o /dev/null
|
||||
interval: 60s
|
||||
@@ -14,8 +16,6 @@ services:
|
||||
start_period: 30s
|
||||
timeout: 30s
|
||||
environment:
|
||||
FRIGATE_MQTT_USERNAME: frigate
|
||||
FRIGATE_MQTT_PASSWORD: ${MQTT_PASSWORD}
|
||||
FRIGATE_GARAGE_RTSP_USERNAME: motion
|
||||
FRIGATE_GARAGE_RTSP_PASSWORD: ${FRIGATE_GARAGE_RTSP_PASSWORD}
|
||||
FRIGATE_FRONT_DOOR_RTSP_USERNAME: motion
|
||||
@@ -46,19 +46,18 @@ services:
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
# networks:
|
||||
# - frigate
|
||||
networks:
|
||||
- frigate
|
||||
ports:
|
||||
- 127.0.0.1:10000:5000
|
||||
extra_hosts:
|
||||
- mqtt:192.168.0.6
|
||||
notify:
|
||||
container_name: frigate-notify
|
||||
image: frigate-notify:latest
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- frigate
|
||||
- mqtt
|
||||
environment:
|
||||
MQTT_USERNAME: frigate
|
||||
MQTT_PASSWORD: ${MQTT_PASSWORD}
|
||||
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
|
||||
volumes:
|
||||
- type: bind
|
||||
@@ -69,14 +68,17 @@ services:
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
extra_hosts:
|
||||
- mqtt:192.168.0.6
|
||||
networks:
|
||||
- frigate
|
||||
webcontrol:
|
||||
container_name: frigate-webcontrol
|
||||
image: frigate-webcontrol:latest
|
||||
labels:
|
||||
autoheal: 'true'
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- frigate
|
||||
- mqtt
|
||||
healthcheck:
|
||||
test: curl -s -f http://localhost -o /dev/null
|
||||
interval: 60s
|
||||
@@ -84,40 +86,35 @@ services:
|
||||
start_period: 30s
|
||||
timeout: 30s
|
||||
environment:
|
||||
MQTT_USERNAME: frigate
|
||||
MQTT_PASSWORD: ${MQTT_PASSWORD}
|
||||
IPGEOLOCATION_API_KEY: ${IPGEOLOCATION_API_KEY}
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
networks:
|
||||
- frigate
|
||||
ports:
|
||||
- 127.0.0.1:10001:80
|
||||
extra_hosts:
|
||||
- mqtt:192.168.0.6
|
||||
# mqtt:
|
||||
# container_name: mqtt
|
||||
# image: eclipse-mosquitto:latest
|
||||
# command:
|
||||
# - mosquitto
|
||||
# - -c
|
||||
# - /mosquitto-no-auth.conf
|
||||
# restart: unless-stopped
|
||||
# volumes:
|
||||
# - type: bind
|
||||
# source: /etc/localtime
|
||||
# target: /etc/localtime
|
||||
# read_only: true
|
||||
# networks:
|
||||
# - frigate
|
||||
# ports:
|
||||
# - 1883:1883
|
||||
# - 9001:9001
|
||||
mqtt:
|
||||
container_name: mqtt
|
||||
image: eclipse-mosquitto:2.0.18
|
||||
command:
|
||||
- mosquitto
|
||||
- -c
|
||||
- /mosquitto-no-auth.conf
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- type: bind
|
||||
source: /etc/localtime
|
||||
target: /etc/localtime
|
||||
read_only: true
|
||||
networks:
|
||||
- frigate
|
||||
|
||||
#networks:
|
||||
# frigate:
|
||||
# name: frigate
|
||||
networks:
|
||||
frigate:
|
||||
name: frigate
|
||||
|
||||
volumes:
|
||||
config:
|
||||
|
||||
Reference in new issue
Block a user