Configuration

following this page https://docs.n8n.io/#/configuration i was wondering if this exclusive to docker? where can i change settings for running from NPM?

Ah no, has nothing at all to do with Docker. For that reason is Docker also not mentioned on that page at all.

You can simply set this environment variables and n8n will use them no matter if you run it inside of Docker or if you have it npm installed.

ho, i see.
i think a dedicated file needs to be an option too. this will make migrating (among other things) easier.

A simple version of that is already possible now. You can simply define them in an .env file. Tools like docker-compose support them by default and from npm setups you can load them manually with something very basic like this:

Is now possible with [email protected]

The documentation can be found here:
https://docs.n8n.io/#/configuration?id=configuration-via-file

1 Like