Add new family room camera #15

This commit is contained in:
ashish committed 2024-11-05 23:33:42 -06:00
1 parent fb7a84cf4c
commit c34d7692f6
5 files changed
+124 -101

No files matched your search

+61 -59
View File
@@ -8,8 +8,8 @@ services:
autoheal: 'true'
restart: unless-stopped
depends_on:
- mqtt
- wyze-bridge
- mqtt
- wyze-bridge
healthcheck:
test: ls /media/frigate && curl -s -f http://localhost:5000 -o /dev/null
interval: 60s
@@ -29,29 +29,31 @@ services:
FRIGATE_BACK_DOOR_RTSP_PASSWORD: ${FRIGATE_BACK_DOOR_RTSP_PASSWORD}
FRIGATE_FAMILY_ROOM_RTSP_USERNAME: frigate
FRIGATE_FAMILY_ROOM_RTSP_PASSWORD: ${FRIGATE_FAMILY_ROOM_RTSP_PASSWORD}
FRIGATE_OFFICE_RTSP_USERNAME: frigate
FRIGATE_OFFICE_RTSP_PASSWORD: ${FRIGATE_OFFICE_RTSP_PASSWORD}
shm_size: '150mb'
devices:
- /dev/dri:/dev/dri
- /dev/dri:/dev/dri
volumes:
- type: volume
source: config
target: /config
- type: volume
source: media
target: /media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: volume
source: config
target: /config
- type: volume
source: media
target: /media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: 1000000000
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
ports:
- 127.0.0.1:10000:5000
- 554:8554
- 127.0.0.1:10000:5000
- 554:8554
wyze-bridge:
container_name: frigate-wyze-bridge
image: mrlt8/wyze-bridge:2.9.7
@@ -66,32 +68,32 @@ services:
API_KEY: ${WYZE_API_KEY}
ENABLE_AUDIO: 'true'
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
notify:
container_name: frigate-notify
image: frigate-notify:latest
restart: unless-stopped
depends_on:
- frigate
- mqtt
- frigate
- mqtt
environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
volumes:
- type: bind
source: /data/certs/homelab_ca.crt
target: /usr/local/share/ca-certificates/homelab_ca.crt
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind
source: /data/certs/homelab_ca.crt
target: /usr/local/share/ca-certificates/homelab_ca.crt
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
webcontrol:
container_name: frigate-webcontrol
image: frigate-webcontrol:latest
@@ -113,18 +115,18 @@ services:
IPGEOLOCATION_API_KEY: ${IPGEOLOCATION_API_KEY}
FRIGATE_CONFIG_FILE: /frigate_config/config.yaml
volumes:
- type: volume
source: config
target: /frigate_config
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: volume
source: config
target: /frigate_config
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
ports:
- 127.0.0.1:10001:80
- 127.0.0.1:10001:80
uptime:
container_name: frigate-uptime
image: frigate-uptime:latest
@@ -133,27 +135,27 @@ services:
frigate:
condition: service_healthy
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
mqtt:
container_name: frigate-mqtt
image: eclipse-mosquitto:2.0.18
command:
- mosquitto
- -c
- /mosquitto-no-auth.conf
- mosquitto
- -c
- /mosquitto-no-auth.conf
restart: unless-stopped
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
- type: bind
source: /etc/localtime
target: /etc/localtime
read_only: true
networks:
- frigate
- frigate
networks:
frigate: