ACTIVE_DIRECTORY_DIRECTORY_ID | Set this value to your organization’s tenant id to enable signing in with Microsoft account. | More info |
AUTHENTICATION_MODE | Set the authentication mode in Mage. Omitting the variable will default to basic password authentication. | ldap |
DATAFRAME_SAMPLE_COUNT_PREVIEW | Number of lines to display in block sample output preview for dataframes. Not suggested to go over 10 lines (defaults to 10). | 5 |
DEBUG | Turn on “debug” mode. Mage will output more logs that could be useful for debugging issues. | 1 |
DEFAULT_EXECUTOR_TYPE | The default executor type to run blocks | See enum types here |
K8S_DEFAULT_CONFIG_PATH | (Mage Pro only.) Path to YAML file for default K8s executor config; merged with block/project config. Prefer configuring via Helm k8sExecutorConfig. K8s executor · Helm | — |
K8S_EXECUTOR_DEFAULT_RESOURCE_REQUESTS_CPU | (Mage Pro only.) Default CPU request for K8s executor jobs (when not specified in config) | 250m |
K8S_EXECUTOR_DEFAULT_RESOURCE_REQUESTS_MEMORY | (Mage Pro only.) Default memory request for K8s executor jobs (when not specified in config) | 512Mi |
K8S_EXECUTOR_DEFAULT_RESOURCE_LIMITS_CPU | (Mage Pro only.) Default CPU limit for K8s executor jobs (when not specified in config) | 500m |
K8S_EXECUTOR_DEFAULT_RESOURCE_LIMITS_MEMORY | (Mage Pro only.) Default memory limit for K8s executor jobs (when not specified in config) | 1Gi |
K8S_EXECUTOR_DEFAULT_SERVICE_ACCOUNT_NAME | (Mage Pro only.) Default service account for K8s executor jobs. See K8s executor docs for more details | default |
WORKSPACE_DEFAULT_CONFIG_PATH | (Mage Pro only.) Path to YAML file for default workspace config; merged with user config. Prefer configuring via Helm workspaceConfig. Workspaces · Helm | — |
WORKSPACE_DEFAULT_RESOURCE_REQUESTS_CPU | (Mage Pro only.) Default CPU request for workspace containers (when not specified in container_config). See Workspaces docs | 500m |
WORKSPACE_DEFAULT_RESOURCE_REQUESTS_MEMORY | (Mage Pro only.) Default memory request for workspace containers (when not specified in container_config) | 2Gi |
WORKSPACE_DEFAULT_RESOURCE_LIMITS_CPU | (Mage Pro only.) Default CPU limit for workspace containers (when not specified in container_config) | 4 |
WORKSPACE_DEFAULT_RESOURCE_LIMITS_MEMORY | (Mage Pro only.) Default memory limit for workspace containers (when not specified in container_config) | 8Gi |
DISABLE_NOTEBOOK_EDIT_ACCESS | Setting this variable will disable edit access based on the value. More information | 1 |
DISABLE_TERMINAL | Setting this variable will disable access to the terminal. | 1 |
ENV | Set the environment of the Mage app. You can use different code or configurations in different environments. | dev, staging, production/prod, test |
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_SYNC_ON_START | 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 |
JWT_SECRET | Modify the json web token secret used for encoding and decoding access tokens. Defaults to materia. | your_jwt_secret |
JWT_DOWNLOAD_SECRET | Modify the json web token secret used for encoding and decoding download tokens. Defaults to randomly generated string value. Use an explicit value in horizontally scalable deployments, e.g.: kubernetes, cloud deployments | your_jwt_secret |
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 |
LDAP_GROUP_FIELD | More information | See link |
LDAP_ROLES_MAPPING | More information | See link |
LDAP_DEFAULT_ACCESS | More information | See link |
LOGS_DIR_PATH | Override the logs directory path. Default path is the variables_dir path (e.g. /home/src/mage_data/) | /home/src/logs_dir |
MAGE_ACCESS_TOKEN_EXPIRY_TIME | More information | See link |
MAGE_BASE_PATH | The base path or prefix of the Mage server url. More information | base/path |
MAGE_REQUESTS_BASE_PATH | More information | base/path |
MAGE_ROUTESBASE_PATH | More information | base/path |
MAGE_CACHE_DIRECTORY | The directory Mage uses for storing and retrieving temporary data used in the UI. | /root/.mage_data/default_repo/.cache |
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 |
RUN_PIPELINE_IN_ONE_PROCESS | When True, pipelines will run in one process, unless otherwise specified in the settings for a given pipeline. | 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 |