Custom environment variables can be set in /app/data/env.sh using the File manager.
Additional info related to optional changes to the N8N backend file: env.sh
- Some services like Google, Facebook, WhatsApp, AI services, require the generation and addition of an API key in the env.sh file
- From the Tools tab in the App overview, click on the "File Manager" button.
- Enter the env.sh key
- Remember to add in front of each line: export_
_ is the SPACE key
So it will look like: export
Example for: TZ="America/Los_Angeles"
Result: export TZ="America/Los_Angeles" - Perform 1 change at a time. Not multiple.
- Click Save + Close
- Click to Restart N8N to apply the changes
- Then it will reboot. If it comes back online, it means that most probably the change was applied correctly.
- If it doesn’t come back online in max 5 minutes, revert back the change. Save+Close+Restart. And it will be online again.