Hello.
I setup n8n on local physical machine, without docker, ubuntu server + cloudflare tunnels and domain.
I want to change for ex. webhook “localhost” to my domain.
Everything works fine, but i cant (don’t know how) change env variables.
I add it directly to ubuntu (.bashrc) doesn’t work.
i dont have .env for n8n, i dont know why, im noob
you can create a json file for storing env, and make the file as env reference for n8n by export the variable export N8N_CONFIG_FILES=/<path-to-config>/my-config.json
And if you want the env vars to "stick around’ after you reboot your machine, you can add it to your ~/.bash_profile or ~/.zshrc file depending what you’re using.