Skip to content

Configuration reference

Most of Bitsmith is configured from the web interface. A handful of low-level settings are read from environment variables at startup, for cases the interface doesn’t cover (changing the port, relocating data, or scripting an install). You won’t need these for normal use.

On an installed system, these are set in the environment file at /etc/bitsmith/bitsmith.env. Edit the file, then restart the service for changes to take effect:

Terminal window
sudo systemctl restart bitsmith
VariableDefaultWhat it does
PORT443Port the interface listens on.
BASE_URLderivedPublic URL of the server, used for links and OIDC callbacks.
ENABLE_DOCKER_RUNTIMEoffTurns on the Docker-backed apps feature.
AUTH_LOCAL_DISABLEDnot setSet to true to require single sign-on and turn off password login.

These mirror the OIDC settings screen and are usually set there rather than by hand:

VariableWhat it does
AUTH_OIDC_ISSUERProvider issuer URL. Setting it enables OIDC.
AUTH_OIDC_CLIENT_IDClient ID from your provider.
AUTH_OIDC_CLIENT_SECRETClient secret from your provider.
AUTH_OIDC_PROVIDER_NAMEName shown on the sign-in button.

Bitsmith stores its database, storage mounts, apps, and VM data under standard paths. These can be overridden, for example to keep state on a specific disk: DB_PATH, STORAGE_ROOT, MOUNT_ROOT, SECRETS_ROOT, APPS_ROOT, VM_ROOT, VM_IMAGE_CACHE_DIR, VM_ISO_DIR, and VM_BACKUP_DIR.