-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
41 lines (38 loc) · 1.13 KB
/
Copy path.env.example
File metadata and controls
41 lines (38 loc) · 1.13 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
# Host Rust backend
HOST=0.0.0.0
PORT=3033
API_PORT=3033
JWT_SECRET=change-me
FRONTEND_DIST_DIR=frontend/dist
DISABLE_BLUETOOTH=false
# Logging verbosity (uses RUST_LOG syntax)
# Examples: error, warn, info, debug, trace
# Fine-grained: cat_monitor_rust_backend=debug,tower_http=info
RUST_LOG=cat_monitor_rust_backend=info,tower_http=warn
AUTH_COOKIE_NAME=maison_session
AUTH_COOKIE_SECURE=true
AUTH_RATE_LIMIT_ATTEMPTS=10
AUTH_RATE_LIMIT_WINDOW_SECONDS=300
MQTT_HOST=127.0.0.1
MQTT_PORT=1883
MQTT_USERNAME=
MQTT_PASSWORD=
MQTT_CLIENT_ID=cat-monitor-backend
Z2M_BASE_TOPIC=zigbee2mqtt
ZIGBEE_PERMIT_JOIN_SECONDS=120
ZIGBEE_BACKEND=native
ZIGBEE_ADAPTER=ember
ZIGBEE_SERIAL_PORT=
ZIGBEE_EZSP_PROTOCOL_VERSION=13
ZIGBEE_ENABLED=false
ZIGBEE_SERIAL_PORT=/dev/serial/by-id/your-sonoff-dongle
ZIGBEE_ADAPTER=ember
ZIGBEE2MQTT_DIR=/opt/zigbee2mqtt
ZIGBEE_LAMPS_JSON_PATH=zigbee-lamps.json
ZIGBEE_LAMPS_BLACKLIST_JSON_PATH=zigbee-lamps-blacklist.json
# Optional Cloudflare tunnel token
CLOUDFLARE_TUNNEL_TOKEN=
CLOUDFLARED_PROTOCOL=http2
# Optional stable public URL for documentation/status output
# Example: cat-monitor.example.com
CLOUDFLARE_PUBLIC_HOSTNAME=