Environment variables may be set in your Docker container to configure Mage settings. If you’re running Mage using
pip
or
conda
, your local machine’s environment variables
are accessible within the running Mage app.
You may need to add a prefix to the Mage url. You can configure the Mage server to start
at a prefix to the url by setting the MAGE_BASE_PATH environment variable.
Make sure to set the base path without the leading slash. For example, if you want to start Mage at
http://localhost:6789/base/url/path, you would configure your environment
variable like this: