Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
65 lines (52 loc) · 2.56 KB
/
Copy path.env.example
File metadata and controls
65 lines (52 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Copy to .env and edit. docker compose reads it automatically.
TZ=Europe/London
# Database (used by both the mariadb and zoneminder services)
ZM_DB_NAME=zm
ZM_DB_USER=zmuser
ZM_DB_PASS=change-me
MARIADB_ROOT_PASSWORD=change-me-too
# Image tag to run:
# latest newest ZoneMinder release latest-es the same with zmeventnotificationNg
# dev nightly development build (odd dev-es the same with zmeventnotificationNg
# minor versions such as 1.39)
# 1.38, 1.38-es, 1.38.6 ... stay on one release
ZM_TAG=latest
# Only used when building with compose.build.yaml
# ZM_TARGET=zm # zm or zm-es
# ZM_CHANNEL=release # release (newest stable), master (nightly), or e.g. release-1.38
# ZM_VERSION= # exact package version, empty = newest in the channel
# BASE_IMAGE=debian:stable-slim # or ubuntu:26.04
# Run as this user and group instead of www-data (33:33), e.g. the owner of your bind mounts.
# PUID=1000
# PGID=1000
# Outgoing mail. Then turn on email in ZoneMinder's Options > Email (see README).
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_TLS=starttls # starttls, tls (port 465) or off
# SMTP_USER=zoneminder@example.com
# SMTP_PASS=
# SMTP_FROM=zoneminder@example.com
# Host ports
ZM_HTTP_PORT=8080
GO2RTC_WEBRTC_PORT=8555
ZMES_PORT=9000
# The address browsers use for ZoneMinder, with a hostname rather than an IP address. Needed for
# live view through go2rtc: set Options > System > GO2RTC_PATH to this plus /zm/go2rtc.
# go2rtc live streams need no login, even with ZoneMinder's authentication on. Anyone who can
# reach the web port can watch a monitor that has go2rtc enabled. Keep the port on a trusted network.
# ZM_PUBLIC_URL=http://zm.lan:8080
# Behind an https reverse proxy, ZoneMinder's own calls to go2rtc come through the proxy. List the
# proxy's address (IP or CIDR, space separated) so go2rtc accepts them. Leave empty otherwise.
# GO2RTC_API_ALLOW=172.18.0.0/16
# Size of /dev/shm in bytes (1 GiB). Raise it for many or high resolution monitors.
ZM_SHM_SIZE=1073741824
# Event server, only read the first time /config/es/*.yml is created.
# Set ZMES_USE_HOOKS=yes and start with --profile ml for object detection.
ZMES_USE_HOOKS=no
ZMES_ML_GATEWAY=http://pyzm-serve:5000
# Models pyzm-serve downloads and serves, comma separated. "Name=file" publishes file.onnx
# under the name objectconfig.yml asks for, e.g. "YOLO ONNX=yolo11s" or "YOLO ONNX=yolo26s".
PYZM_MODELS=YOLO ONNX=yolo11s
# GPU detection: add -f compose.gpu.yaml. It uses the pyzm-serve:cuda image.
# PYZM_CUDA_TAG=cuda
# PYZM_GPU_COUNT=1