mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-05-13 22:06:55 +02:00
add moonfire-nvr
This commit is contained in:
parent
70a3f3cd32
commit
c24cc7ce0f
@ -445,6 +445,7 @@ A collection of delicious docker recipes.
|
||||
- [x] metasploitframework/metasploit-framework :skull:
|
||||
- [x] minio/minio
|
||||
- [x] mongo :bucket:
|
||||
- [x] ghcr.io/scottlamb/moonfire-nvr
|
||||
- [x] ccrisan/motioneye
|
||||
- [x] ghcr.io/kitabisa/mubeng
|
||||
- [x] n8nio/n8n
|
||||
|
17
moonfire-nvr/README.md
Normal file
17
moonfire-nvr/README.md
Normal file
@ -0,0 +1,17 @@
|
||||
moonfire-nvr
|
||||
============
|
||||
|
||||
[Moonfire NVR][1] is an open-source security camera network video recorder.
|
||||
|
||||
## up and running
|
||||
|
||||
```bash
|
||||
$ mkdir -p data/{etc,var,tmp}
|
||||
$ chown -R 1000:1000 data
|
||||
$ docker compose run --rm moonfire-nvr init
|
||||
$ docker compose run --rm moonfire-nvr config
|
||||
$ docker compose up -d
|
||||
$ open http://127.0.0.1:8080/
|
||||
```
|
||||
|
||||
[1]: https://github.com/scottlamb/moonfire-nvr
|
7
moonfire-nvr/data/etc/moonfire-nvr.toml
Normal file
7
moonfire-nvr/data/etc/moonfire-nvr.toml
Normal file
@ -0,0 +1,7 @@
|
||||
[[binds]]
|
||||
ipv4 = "0.0.0.0:8080"
|
||||
allowUnauthenticatedPermissions = { viewVideo = true }
|
||||
|
||||
[[binds]]
|
||||
unix = "/var/lib/moonfire-nvr/sock"
|
||||
ownUidIsPrivileged = true
|
0
moonfire-nvr/data/tmp/.gitkeep
Normal file
0
moonfire-nvr/data/tmp/.gitkeep
Normal file
0
moonfire-nvr/data/var/.gitkeep
Normal file
0
moonfire-nvr/data/var/.gitkeep
Normal file
16
moonfire-nvr/docker-compose.yml
Normal file
16
moonfire-nvr/docker-compose.yml
Normal file
@ -0,0 +1,16 @@
|
||||
services:
|
||||
moonfire-nvr:
|
||||
image: ghcr.io/scottlamb/moonfire-nvr:v0.7.21
|
||||
command: ["run", "-c", "/etc/moonfire-nvr/moonfire-nvr.toml"]
|
||||
ports:
|
||||
- "8080:8080"
|
||||
volumes:
|
||||
- ./data/etc:/etc/moonfire-nvr
|
||||
- ./data/var:/var/lib/moonfire-nvr
|
||||
- ./data/tmp:/var/tmp
|
||||
- /usr/share/zoneinfo:/usr/share/zoneinfo:ro
|
||||
user: "1000:1000"
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
- RUST_BACKTRACE=1
|
||||
restart: unless-stopped
|
Loading…
x
Reference in New Issue
Block a user