-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (58 loc) · 2.39 KB
/
.env.example
File metadata and controls
68 lines (58 loc) · 2.39 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
66
67
68
# ==============================================================================
# UMH Core Environment Variables
# ==============================================================================
# Copy to .env and configure before deployment
# NEVER commit .env to version control
# ==============================================================================
# REQUIRED: Management Console Authentication
# ==============================================================================
AUTH_TOKEN=
# ==============================================================================
# UMH Core Configuration
# ==============================================================================
UMH_VERSION=v0.44.15
RELEASE_CHANNEL=stable
API_URL=https://management.umh.app/api
# ==============================================================================
# Location Hierarchy (UNS topic path: umh.v1.<LOCATION_0>.<LOCATION_1>...)
# ==============================================================================
LOCATION_0=enterprise
LOCATION_1=
LOCATION_2=
# ==============================================================================
# Timezone
# ==============================================================================
TZ=Europe/Amsterdam
# ==============================================================================
# Port Configuration
# ==============================================================================
PORT_HTTP=80
PORT_HTTPS=443
PORT_MQTT=1883
PORT_MQTT_WS=8083
PORT_NODERED=1880
PORT_PORTAINER=9000
PORT_PORTAINER_EDGE=9443
# ==============================================================================
# Historian Addon (TimescaleDB + Grafana)
# ==============================================================================
# Database name: 'umh' matches official UMH documentation
POSTGRES_DB=umh
POSTGRES_USER=postgres
POSTGRES_PASSWORD=changeme
# Historian users (created by init scripts)
HISTORIAN_WRITER_USER=kafkatopostgresqlv2
HISTORIAN_WRITER_PASSWORD=changeme
HISTORIAN_READER_USER=grafanareader
HISTORIAN_READER_PASSWORD=changeme
# Grafana admin
GF_ADMIN_USER=admin
GF_ADMIN_PASSWORD=changeme
# TimescaleDB tuning
TS_TUNE_MEMORY=4GB
TS_TUNE_NUM_CPUS=2
# ==============================================================================
# MCP Addon (AI Development)
# ==============================================================================
MCP_POSTGRES_PORT=3003
MCP_POSTGRES_ACCESS=restricted