Custom env

Custom env

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
  1. Some services like Google, Facebook, WhatsApp, AI services, require the generation and addition of an API key in the env.sh file
  2. From the Tools tab in the App overview, click on the "File Manager" button.
  3. Enter the env.sh key
  4. 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"
  5. Perform 1 change at a time. Not multiple.
  6. Click Save + Close
  7. Click to Restart N8N to apply the changes
  8. Then it will reboot. If it comes back online, it means that most probably the change was applied correctly.
  9. If it doesn’t come back online in max 5 minutes, revert back the change. Save+Close+Restart. And it will be online again.