Development
Mage environment variables
Development
Mage environment variables
Configure Mage settings through environment variables.
Variable name | Description | Example values |
---|---|---|
AUTHENTICATION_MODE | Set the authentication mode in Mage. Omitting the variable will default to basic password authentication. | ldap |
DEBUG | Turn on “debug” mode. Mage will output more logs that could be useful for debugging issues. | 1 |
DISABLE_NOTEBOOK_EDIT_ACCESS | Setting this variable will disable edit access based on the value. More information | 1 |
GIT_REPO_LINK | More information | See link |
GIT_REPO_PATH | More information | See link |
GIT_USERNAME | More information | See link |
GIT_EMAIL | More information | See link |
GIT_AUTH_TYPE | More information | See link |
GIT_BRANCH | More information | See link |
GIT_SYNC_ON_PIPELINE_RUN | More information | See link |
GIT_SSH_PUBLIC_KEY | More information | See link |
GIT_SSH_PRIVATE_KEY | More information | See link |
GIT_ACCESS_TOKEN | More information | See link |
HIDE_ENV_VAR_VALUES | Filter out environment variables in notebook output. | 1 |
LDAP_ADMIN_USERNAME | More information | See link |
LDAP_SERVER | More information | See link |
LDAP_BIND_DN | More information | See link |
LDAP_BIND_PASSWORD | More information | See link |
LDAP_BASE_DN | More information | See link |
LDAP_AUTHENTICATION_FILTER | More information | See link |
LDAP_AUTHORIZATION_FILTER | More information | See link |
MAGE_DATABASE_CONNECTION_URL | Specify the database connection url for orchestration DB. Defaults to local sqlite db. | Example |
MAGE_PUBLIC_HOST | The 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_LINES | The max number of stdout lines, such as from print statements, included in a message from the websocket server. (Defaults to 1000 ) | 100 |
REQUIRE_USER_AUTHENTICATION | Enable user authentication in Mage. More information | 1 |
SERVER_VERBOSITY | More information | See link |
SHELL_COMMAND | Set shell command to use for the Mage terminal. Default command is bash for macOS/Unix and cmd for Windows. | bash , cmd , … |
ULIMIT_NO_FILE | Override the maximum number of open files allowed in Mage processes. | 8192 |
USER_CODE_PATH | Set 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 |