-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
25 lines (22 loc) · 1 KB
/
Copy path.env.example
File metadata and controls
25 lines (22 loc) · 1 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
# Copy to .env and fill in. These let the server image run without a Rails
# master.key — it reads its secrets from the environment instead.
#
# Generate each value (any long random string works):
# SECRET_KEY_BASE openssl rand -hex 64
# AR_ENCRYPTION_PRIMARY_KEY openssl rand -hex 32
# AR_ENCRYPTION_DETERMINISTIC_KEY openssl rand -hex 32
# AR_ENCRYPTION_KEY_DERIVATION_SALT openssl rand -hex 32
#
# Keep these stable: the encryption keys are needed to read any broker password
# you save later. Treat .env as a secret (it's gitignored).
SECRET_KEY_BASE=
AR_ENCRYPTION_PRIMARY_KEY=
AR_ENCRYPTION_DETERMINISTIC_KEY=
AR_ENCRYPTION_KEY_DERIVATION_SALT=
# Image versions. Default to `latest`; pin to a release for reproducible deploys
# (each module versions independently — see its Docker Hub tags).
# SERVER_TAG=latest
# AGENT_TAG=latest
# Only needed for the optional `agent` profile (a real, reachable inverter):
# MODBUS_ADDR=192.168.1.50:502
# DEVICE_MODEL=solis_s5-eh1p5k-l