2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 12:05:02 +01:00

add moonfire-nvr

This commit is contained in:
kev
2025-05-08 19:05:58 +08:00
parent 70a3f3cd32
commit c24cc7ce0f
6 changed files with 41 additions and 0 deletions

View 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