diff --git a/docs/docs/Configuration/environment-variables.mdx b/docs/docs/Configuration/environment-variables.mdx index 245e35b27..865efe83a 100644 --- a/docs/docs/Configuration/environment-variables.mdx +++ b/docs/docs/Configuration/environment-variables.mdx @@ -383,29 +383,31 @@ To make environment variables available to GUI apps on macOS, you need to use `l 3. Add the following content to `dev.langflow.env.plist`, and then add, change, or remove Langflow environment variables as needed for your configuration. - This example sets the `LANGFLOW_CONFIG_DIR` environment variable for all GUI apps launched from the macOS GUI. + This example sets multiple environmental variables for all GUI apps launched from the macOS GUI. ```xml - - - - - Label - dev.langflow.env - ProgramArguments - - launchctl - setenv - LANGFLOW_CONFIG_DIR - /Users/your_user/custom/config - - RunAtLoad - - - + + + + + Label + dev.langflow.env + ProgramArguments + + /bin/sh + -c + + launchctl setenv LANGFLOW_CONFIG_DIR /Users/your_user/custom/config && + launchctl setenv LANGFLOW_PORT 7860 && + launchctl setenv LANGFLOW_HOST localhost && + launchctl setenv ARIZE_API_KEY ak-... + + + RunAtLoad + + + ``` - 4. Load the file with `launchctl`: ```bash