Configuring environment variables for n8n installation on DigitalOcean Droplet

What exactly are the environment variables that I need to change for a DigitalOcean installation of n8n? I am also attempting to install this via the DO app platform.

The documentation was a bit vague:

Hi @bgschust, that would be the values from the repository that’s part of the documentation I believe. You can find the full .env file here:

Though tbh I am not sure why N8N_BASIC_AUTH_USER and N8N_BASIC_AUTH_PASSWORD are part of this while N8N_BASIC_AUTH_ACTIVE isn’t (meaning basic auth is disabled anyway). My personal preference would be setting only a few variables right in the docker compose file (like so).

You can also find a full list of environment variables in our documentation in case you’d like to configure more than just the example settings:


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.