Configuration env - s-allius/tsun-gen3-proxy GitHub Wiki

Environment Values

name type default description
MQTT_HOST string mqtt The hostname or IP address of the MQTT broker
MQTT_PORT int
(1024...65535)
1883 The network port of the remote broker
MQTT_USER string <empty> The username to authenticate with
MQTT_PASSWORD string <empty> The password to authenticate with

Docker build arguments

name description
environment dev or production;
for production we remove unused commands from the container to reduce the attack surface
SERVICE_NAME name of the proxy, must not be changed
VERSION version string build from the git tag during container build
LOG_LVL DEBUG, INFO, WARN, set in container build

Docker compose environment variables

name description
UID user id for the proxy
GID group id for the proxy
DNS1 defines which DNS server the proxy use
DNS2 defines a backup DNS server for the proxy
TZ timezone e.g. Europe/Brussels
❗This should be determined by the host operating system of your
Docker Engine and is mandatory for GEN3 inverter
PROJECT_DIR common base path
⚠️ **GitHub.com Fallback** ⚠️