Development
Mage environment variables
Variable nameDescriptionExample values
AUTHENTICATION_MODESet the authentication mode in Mage. Omitting the variable will default to basic password authentication.ldap
DEBUGTurn on “debug” mode. Mage will output more logs that could be useful for debugging issues.1
DISABLE_NOTEBOOK_EDIT_ACCESSSetting this variable will disable edit access based on the value. More information1
GIT_REPO_LINKMore informationSee link
GIT_REPO_PATHMore informationSee link
GIT_USERNAMEMore informationSee link
GIT_EMAILMore informationSee link
GIT_AUTH_TYPEMore informationSee link
GIT_BRANCHMore informationSee link
GIT_SYNC_ON_PIPELINE_RUNMore informationSee link
GIT_SSH_PUBLIC_KEYMore informationSee link
GIT_SSH_PRIVATE_KEYMore informationSee link
GIT_ACCESS_TOKENMore informationSee link
HIDE_ENV_VAR_VALUESFilter out environment variables in notebook output.1
LDAP_ADMIN_USERNAMEMore informationSee link
LDAP_SERVERMore informationSee link
LDAP_BIND_DNMore informationSee link
LDAP_BIND_PASSWORDMore informationSee link
LDAP_BASE_DNMore informationSee link
LDAP_AUTHENTICATION_FILTERMore informationSee link
LDAP_AUTHORIZATION_FILTERMore informationSee link
MAGE_DATABASE_CONNECTION_URLSpecify the database connection url for orchestration DB. Defaults to local sqlite db.Example
MAGE_PUBLIC_HOSTThe public host url that can be used to access the Mage app. This value will be used in emails or other notifications.http://localhost:6789
MAX_PRINT_OUTPUT_LINESThe max number of stdout lines, such as from print statements, included in a message from the websocket server. (Defaults to 1000)100
REQUIRE_USER_AUTHENTICATIONEnable user authentication in Mage. More information1
SERVER_VERBOSITYMore informationSee link
SHELL_COMMANDSet shell command to use for the Mage terminal. Default command is bash for macOS/Unix and cmd for Windows.bash, cmd, …
ULIMIT_NO_FILEOverride the maximum number of open files allowed in Mage processes.8192
USER_CODE_PATHSet this path to be /home/src/{your_project_name} so that Mage starts your project and installs the packages in requirements.txt when starting the container./home/src/mage_project