# webui4frpc optional environment file. # # Listening address, admin credentials, workdir and peers now belong in # /etc/webui4frpc/config.json — that file is what systemd passes via # `webui4frpc -config ...`, and it keeps the password out of the unit file and # out of `ps` output. # # Everything here is OPTIONAL; the unit uses `EnvironmentFile=-`, so this file # may be empty or missing entirely. # # Referenced by config.json as ${VAR} (the variable must be set and non-empty, # otherwise startup fails loudly rather than booting with an empty password): # W4F_PASSWORD=change-me # # Cluster admission key, used by config.json as "join_key": "${W4F_JOIN_KEY}". # W4F_JOIN_KEY= # # Overrides the advertised hostname for peers (container DNS / wildcard listen). # W4F_HOST= # # Load balancing defaults (the per-node switch in the UI wins over these). # W4F_BALANCE_MODE=dry-run # W4F_BALANCE_COOLDOWN=600 # W4F_BALANCE_INTERVAL=10 # Optional: point at a config file outside /etc/webui4frpc. An explicit # -config flag still wins over this. # W4F_CONFIG=/etc/webui4frpc/config.json