Add Docker Compose files for Strix, Frigate, and go2rtc setups
Add three docker-compose variants: standalone Strix, Strix + Frigate, and Strix + go2rtc. Update README with Docker Compose install instructions linking to the files.
This commit is contained in:
@@ -97,6 +97,29 @@ Camera works in Frigate. Done.
|
||||
docker run -d --name strix --network host --restart unless-stopped eduard256/strix:latest
|
||||
```
|
||||
|
||||
### Docker Compose
|
||||
|
||||
Strix only:
|
||||
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/eduard256/Strix/main/docker-compose.yml
|
||||
docker compose up -d
|
||||
```
|
||||
|
||||
Strix + [Frigate](https://github.com/blakeblackshear/frigate):
|
||||
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/eduard256/Strix/main/docker-compose.frigate.yml
|
||||
docker compose -f docker-compose.frigate.yml up -d
|
||||
```
|
||||
|
||||
Strix + [go2rtc](https://github.com/AlexxIT/go2rtc):
|
||||
|
||||
```bash
|
||||
curl -O https://raw.githubusercontent.com/eduard256/Strix/main/docker-compose.go2rtc.yml
|
||||
docker compose -f docker-compose.go2rtc.yml up -d
|
||||
```
|
||||
|
||||
### Home Assistant Add-on
|
||||
|
||||
1. **Settings** > **Add-ons** > **Add-on Store**
|
||||
|
||||
@@ -0,0 +1,42 @@
|
||||
# Strix + Frigate
|
||||
# Usage: docker compose -f docker-compose.frigate.yml up -d
|
||||
|
||||
services:
|
||||
strix:
|
||||
container_name: strix
|
||||
image: eduard256/strix:latest
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
STRIX_LISTEN: ":4567"
|
||||
STRIX_FRIGATE_URL: "http://localhost:8971"
|
||||
# STRIX_LOG_LEVEL: debug
|
||||
depends_on:
|
||||
- frigate
|
||||
|
||||
frigate:
|
||||
container_name: frigate
|
||||
image: ghcr.io/blakeblackshear/frigate:stable
|
||||
privileged: true
|
||||
restart: unless-stopped
|
||||
stop_grace_period: 30s
|
||||
shm_size: "512mb"
|
||||
# devices:
|
||||
# - /dev/bus/usb:/dev/bus/usb # USB Coral
|
||||
# - /dev/apex_0:/dev/apex_0 # PCIe Coral
|
||||
# - /dev/dri/renderD128:/dev/dri/renderD128 # Intel/AMD GPU
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./frigate/config:/config
|
||||
- ./frigate/storage:/media/frigate
|
||||
- type: tmpfs
|
||||
target: /tmp/cache
|
||||
tmpfs:
|
||||
size: 1000000000
|
||||
ports:
|
||||
- "8971:8971"
|
||||
- "8554:8554"
|
||||
- "8555:8555/tcp"
|
||||
- "8555:8555/udp"
|
||||
environment:
|
||||
FRIGATE_RTSP_PASSWORD: "password"
|
||||
@@ -0,0 +1,27 @@
|
||||
# Strix + go2rtc
|
||||
# Usage: docker compose -f docker-compose.go2rtc.yml up -d
|
||||
|
||||
services:
|
||||
strix:
|
||||
container_name: strix
|
||||
image: eduard256/strix:latest
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
STRIX_LISTEN: ":4567"
|
||||
STRIX_GO2RTC_URL: "http://localhost:1984"
|
||||
# STRIX_LOG_LEVEL: debug
|
||||
depends_on:
|
||||
- go2rtc
|
||||
|
||||
go2rtc:
|
||||
container_name: go2rtc
|
||||
image: alexxit/go2rtc
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./go2rtc:/config
|
||||
ports:
|
||||
- "1984:1984"
|
||||
- "8554:8554"
|
||||
- "8555:8555/tcp"
|
||||
- "8555:8555/udp"
|
||||
@@ -0,0 +1,12 @@
|
||||
# Strix standalone
|
||||
# Usage: docker compose up -d
|
||||
|
||||
services:
|
||||
strix:
|
||||
container_name: strix
|
||||
image: eduard256/strix:latest
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
STRIX_LISTEN: ":4567"
|
||||
# STRIX_LOG_LEVEL: debug
|
||||
Reference in New Issue
Block a user