Configuration
ShellHub is easy to configure, all configuration is done via environment
variables inside the .env.override
file located at the root of ShellHub project dir.
tip
By default, the .env.override
file does not exists, so you need need to create it.
Environment Variables
note
All default values are inherited from .env
file.
The bind address for the ShellHub gateway's container to bind on
SHELLHUB_BIND_ADDRESS
- Default: 0.0.0.0
SHELLHUB_HTTP_PORT
- Default: 80
The HTTP listen port for the ShellHub web-based GUI, API and Reverse SSH tunnel.
SHELLHUB_HTTPS_PORT
- Default: 443
The HTTPS listen port for the ShellHub web-based GUI, API and Reverse SSH tunnel.
SHELLHUB_SSH_PORT
- Default: 22
The SSH listen port for incoming SSH connections to devices.
SHELLHUB_PROXY
- Default: false
Set this variable to true
if you are running a Layer 4 load balancer with proxy protocol in front of ShellHub.