N8n envoirements #3740
Unanswered
daschmidt1994
asked this question in
Q&A
Replies: 1 comment
-
Define system variables using nano in this file: Example: [Unit]
Description=n8n
[Service]
Type=simple
Environment="N8N_SECURE_COOKIE=false"
Environment="N8N_EDITOR_BASE_URL=https://example.com"
Environment="WEBHOOK_URL=https://example.com"
Environment="GENERIC_TIMEZONE=Europe/Prague"
Environment="N8N_DEFAULT_LOCALE=cs"
#Environment="NODE_FUNCTION_ALLOW_BUILTIN=crypto"
Environment="N8N_BLOCK_ENV_ACCESS_IN_NODE=false"
ExecStart=n8n start
[Install]
WantedBy=multi-user.target After editing, restart with: systemctl daemon-reload
systemctl restart n8n If you need to define custom variables, e.g. credentials, then add this line: EnvironmentFile=/root/.env In the node you get with: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Good morning,
I tried to enable the default Timezone and some other environment for oauth redirect in the n8n lxc but nothing work.
What is the correct way to use this?
Beta Was this translation helpful? Give feedback.
All reactions