Skip to content

Environment Variables ​

Dotenv logo

The workspace follows the convention over configuration principle, providing sensible defaults. However, nearly all settings can be customized or extended using environment variables.

This approach enhances flexibility, allowing default configurations to be overridden as needed.

WS_ Prefix ​

Please note that environment variables used solely by the workspace a are prefixed with WS_. The only exception are environment variables that are identical to what the underlying tool uses.

For example, the GIT_COMMITTER_NAME variable does not contain the WS_ prefix, since it is defined by the underlying tool (git in this case) and not the workspace. However, WS_ROOT is only used by the workspace, therefore it contains the prefix.

Variables ​

Workspace Variables ​

ENVDescriptionRead More
WS_CLONE_WORKSPACE_REPOClone a repository to the workspace directory on startup→
WS_COMMENTS_DISABLE_FONTDisable the custom comments font→
WS_DISABLE_SUDODisable sudo privileges
WS_CONFIGURE_DOCKERAttempt to auto-configure docker→
WS_CONFIGURE_HELMAutoload helm repository cache→
WS_EXTRA_CA_CERT_ENDPOINTSExtra CA endpoints to install at startup (delimited by space)→
WS_EXTRA_CA_CERT_INSECUREUse insecure communication when installing CA endpoints→
WS_EXTRA_FEATURESExtra features to install at startup (delimited by space)→
WS_EXTRA_VS_EXTENSIONSExtra extensions to install at startup (delimited by space)→
WS_EXTRA_VS_EXTENSIONS_DIRDirectory of extensions to install at startup (*.vsix)→
WS_PASSWORDPassword for login authentication→
WS_PASSWORD_HASHEDHashed (argon2) password for login authentication→
WS_PORTSpecify the server port (default: 8080)
WS_PROXY_DOMAINSpecify a domain name for proxying services' ports→
WS_PROMPT_DISABLE_DOCKERDisable the docker module of the terminal prompt→
WS_PROMPT_DISABLE_HOSTNAMEDisable the hostname module of the terminal prompt→
WS_PROMPT_DISABLE_KUBERNETESDisable the kubernetes module of the terminal prompt→
WS_PROMPT_DISABLE_NODEJSDisable the nodejs module of the terminal prompt→
WS_PROMPT_DISABLE_PYTHONDisable the python module of the terminal prompt→
WS_PROMPT_DISABLE_USERDisable the user module of the terminal prompt→
WS_ROOTRoot directory for the workspace (default: /workspace)
WS_ZSH_PLUGINSSpecifies the zsh plugins to be enabled in each session→
WS_ZSH_EXTRA_PLUGINSAdds additional zsh plugins to the existing defaults→

Tool Variables ​

ENVDescriptionRead More
EDITORDefault terminal editor (default: code)
GIT_COMMITTER_NAMEName to be used in ~/.gitconfig→
GIT_COMMITTER_EMAILEmail to be used in ~/.gitconfig→
PAGERDefault terminal pager (default: less)
TZDefine the timezone

Released under the MIT License