64 lines
2.2 KiB
YAML
64 lines
2.2 KiB
YAML
# cameras stack — Reolink E1 live view + detection snapshots.
|
|
#
|
|
# The E1 (192.168.1.99) has NO RTSP/RTMP/ONVIF: only Reolink's Baichuan protocol on its
|
|
# media port (9001 — set in the Reolink app; neolink breaks if it changes). neolink logs
|
|
# in over Baichuan and re-serves rtsp://neolink:8554/e1/{main,sub}Stream on the private
|
|
# cameras net (unauthenticated, so it is never on edge). frigate's built-in go2rtc is the
|
|
# only neolink client; the browser gets MSE through Caddy (cam.ginnoir.com).
|
|
#
|
|
# Recording is OFF — snapshots only (/storage1/labdata/frigate). Detection is OpenVINO on
|
|
# CPU, deliberately not the P100 (llama-swap owns its VRAM; CDI breaks after reboots).
|
|
#
|
|
# Configs are host-managed at /config/<svc>/ (Portainer's checkout won't materialize a
|
|
# relative repo-file bind). The copies under stacks/cameras/*/ are canonical; on change,
|
|
# copy them to valhalla (see homelab-apply). All images pinned out of Watchtower:
|
|
# frigate's config schema breaks between minor releases.
|
|
services:
|
|
neolink:
|
|
image: quantumentangledandy/neolink:v0.6.2
|
|
container_name: neolink
|
|
restart: unless-stopped
|
|
labels:
|
|
- "com.centurylabs.watchtower.enable=false"
|
|
env_file: stack.env
|
|
networks: [cameras]
|
|
volumes:
|
|
- /config/neolink/neolink.toml:/etc/neolink.toml:ro
|
|
|
|
frigate:
|
|
image: ghcr.io/blakeblackshear/frigate:0.17.2
|
|
container_name: frigate
|
|
restart: unless-stopped
|
|
labels:
|
|
- "com.centurylabs.watchtower.enable=false"
|
|
env_file: stack.env
|
|
shm_size: "256mb"
|
|
depends_on: [neolink]
|
|
networks: [edge, cameras]
|
|
volumes:
|
|
- /config/frigate:/config
|
|
- /storage1/labdata/frigate:/media/frigate
|
|
- type: tmpfs
|
|
target: /tmp/cache
|
|
tmpfs:
|
|
size: 1000000000
|
|
|
|
frigate-notify:
|
|
image: ghcr.io/0x2142/frigate-notify:v0.5.4
|
|
container_name: frigate-notify
|
|
restart: unless-stopped
|
|
labels:
|
|
- "com.centurylabs.watchtower.enable=false"
|
|
env_file: stack.env
|
|
depends_on: [frigate]
|
|
# cameras -> frigate:5000 API; edge -> ntfy:80
|
|
networks: [cameras, edge]
|
|
volumes:
|
|
- /config/frigate-notify/config.yml:/app/config.yml:ro
|
|
|
|
networks:
|
|
edge:
|
|
external: true
|
|
cameras:
|
|
name: cameras
|