Skip to Content
HostWall

Environment variables

Environment variables read by HostWall and its install script.

Settings in the config file and command-line flags take precedence over these variables.

HostWall

VariableDefaultEffect
HOSTWALL_CONFIG/etc/hostwall/hostwall.yaml (Linux)Config file path, for every command. --config overrides it.
HOSTWALL_DATA/var/lib/hostwall (Linux)Data directory when server.data_dir isn't set. --data overrides both.
HOSTWALL_DASHBOARDunset (127.0.0.1:9443)Dashboard address when server.dashboard isn't set. The Docker image sets it to 0.0.0.0:9443.
HOSTWALL_DEV_WEBunsetFor developers: serve the dashboard UI from this directory instead of the copy built into the binary, so UI edits show on reload. Don't use it in production.

The Docker image sets HOSTWALL_CONFIG=/etc/hostwall/hostwall.yaml, HOSTWALL_DATA=/var/lib/hostwall and HOSTWALL_DASHBOARD=0.0.0.0:9443.

Install script

VariableExampleEffect
HOSTWALL_VERSIONv0.1.0Install this version instead of the latest
HOSTWALL_NO_SERVICE1Only install the binary; no user, directories or systemd service
HOSTWALL_BASE_URLhttps://mirror.example.com/hostwall/v0.1.0Download release files from this URL instead of GitHub. Requires HOSTWALL_VERSION.

Pass them to sh: curl -fsSL https://www.hostwall.io/install | HOSTWALL_VERSION=v0.1.0 sh.

Edit this page on GitHub

On this page