n8n is a visual automation builder: you wire services, APIs, and bots into a chain with your mouse. Like Zapier or Make, but it runs on your own server and the data stays with you.
--restart unless-stopped – the container comes back up by itself after a server reboot.
-p 5678:5678 – the panel port.
-v n8n_data:/home/node/.n8n – the workflow volume.
GENERIC_TIMEZONE, TZ – the time zone.
N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS – strict permissions on the settings file.
N8N_RUNNERS_ENABLED – code from Code nodes runs in a separate process.
-e N8N_SECURE_COOKIE=false – not in the command above. Add it next to the other -e lines if you will open the panel by IP without HTTPS: otherwise n8n shows a secure cookie error and does not let you in.
Port – open it in the firewall:
ufw allow 5678/tcp
Docker publishes the port past ufw: the panel is reachable from the internet even without this rule. More: Docker, Firewall.
Panel – open it in a browser and create the owner account with a password right away:
http://SERVER_IP:5678
Until the account exists, anyone who opens the address can create it.
Workflows live in the n8n_data volume and survive container restarts. Delete the volume and you lose them.
Instead of step 2, if you only want to try it: a container with --rm starts in the current terminal and is removed when it stops. Workflows stay in the n8n_data volume. By IP without HTTPS, add -e N8N_SECURE_COOKIE=false here too.
For everyday use, do not keep the panel on a bare IP and port. Get a domain, put Nginx in front as a reverse proxy, and add HTTPS: the address becomes https://n8n.yourdomain. How: Web server (Nginx), SSL and Let’s Encrypt.Network or port not working – write to @lumisup_robot, software setup is on you.Next: Docker, Backups.
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Lumi","description":"Серверы VPS Lumi: настройка, подключение и решение проблем","colors":{"primary":"#0EA5E9","light":"#38BDF8","dark":"#0284C7"},"logo":{"light":"https://mintcdn.com/lumi-8e9f3d35/2MclTGnmS1VG2Abe/logo.svg?fit=max\u0026auto=format\u0026n=2MclTGnmS1VG2Abe\u0026q=85\u0026s=f86070567b66af34654de1a77f8360ff","dark":"https://mintcdn.com/lumi-8e9f3d35/2MclTGnmS1VG2Abe/logo.svg?fit=max\u0026auto=format\u0026n=2MclTGnmS1VG2Abe\u0026q=85\u0026s=f86070567b66af34654de1a77f8360ff"},"favicon":"https://mintcdn.com/lumi-8e9f3d35/eTLjd4bhyqCNp3WB/favicon.svg?fit=max\u0026auto=format\u0026n=eTLjd4bhyqCNp3WB\u0026q=85\u0026s=07499b3f01b1b78ec5d44f31210e6dd8","appearance":{"default":"dark"},"background":{"color":{"light":"#F6F5F4","dark":"#1E1E1F"}},"navbar":{"links":[],"primary":{"type":"button","label":"Канал Lumi","href":"https://t.me/+7XIA2JUDcbAyNjA0"}},"footer":{"socials":{}},"search":{"prompt":"Поиск"},"fonts":{"family":"Inter"},"styling":{"codeblocks":"system","latex":false},"contextual":{"options":[],"display":"header"},"navigation":{"languages":[{"language":"ru","default":true,"href":"vps"},{"language":"en","href":"en/vps"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"lumi-8e9f3d35","hasAudioNarration":false,"actualSubdomain":"lumi-8e9f3d35","customDomains":["wiki.lumiweb.cc"],"gitSource":{"type":"github","owner":"nvrloseeee-hash","repo":"lumidocs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac6411e78c1c22ae0f1c88e","collectionId":"bb88e502-e415-4c87-91bb-dba60129529b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac6411e78c1c22ae0f1c88e"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac6411e78c1c22ae0f1c88e","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"en","tag":"VPS","count":26},{"language":"ru","tag":"VPS","count":26},{"language":"en","tag":"Software \u0026 services","count":12},{"language":"ru","tag":"Софт и сервисы","count":12},{"language":"en","tag":"Setup","count":8},{"language":"ru","tag":"Настройка","count":8},{"language":"en","tag":"Basics","count":4},{"language":"ru","tag":"Основное","count":4},{"language":"en","tag":"Protection \u0026 issues","count":2},{"language":"ru","tag":"Защита и проблемы","count":2}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"#sidebar-content{width:16rem!important}#sidebar-content a{white-space:nowrap}"}],"page":{"pagePath":"en/vps/n8n","slug":"/en/vps/n8n","pageMetadata":{"title":"n8n (automation)","sidebarTitle":"n8n","description":"No-code process automation","icon":"diagram-project","href":"/en/vps/n8n"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"No-code process automation\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`n8n is a visual automation builder: you wire services, APIs, and bots into a chain with your mouse. Like Zapier or Make, but it runs on your own server and the data stays with you.`}),`\n`,_jsx(Heading,{level:`2`,id:`installation`,children:`Installation`}),`\n`,_jsxs(_components.p,{children:[`Connect over SSH as `,_jsx(_components.code,{children:`root`}),`: `,_jsx(_components.a,{href:`/en/vps/connect`,children:`Connection`}),`. Docker is required: `,_jsx(_components.a,{href:`/en/vps/docker`,children:`Docker`}),`. The image and parameters change from time to time, check `,_jsx(_components.a,{href:`https://docs.n8n.io/hosting/installation/docker/`,children:`docs.n8n.io`}),`.`]}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Volume`}),` – it stores your workflows:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` volume`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` create`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` n8n_data`})]}),`\n`]})})}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Run`}),` – set your own time zone:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --restart`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` unless-stopped`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` n8n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 5678:5678`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` GENERIC_TIMEZONE=\"Europe/Moscow\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` TZ=\"Europe/Moscow\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -e`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` N8N_RUNNERS_ENABLED=`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` n8n_data:/home/node/.n8n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docker.n8n.io/n8nio/n8n`})}),`\n`]})})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`-d`})}),` – background mode.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`--restart unless-stopped`})}),` – the container comes back up by itself after a server reboot.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`-p 5678:5678`})}),` – the panel port.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`-v n8n_data:/home/node/.n8n`})}),` – the workflow volume.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`GENERIC_TIMEZONE`})}),`, `,_jsx(_components.strong,{children:_jsx(_components.code,{children:`TZ`})}),` – the time zone.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS`})}),` – strict permissions on the settings file.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`N8N_RUNNERS_ENABLED`})}),` – code from Code nodes runs in a separate process.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:_jsx(_components.code,{children:`-e N8N_SECURE_COOKIE=false`})}),` – not in the command above. Add it next to the other `,_jsx(_components.code,{children:`-e`}),` lines if you will open the panel by IP without HTTPS: otherwise n8n shows a secure cookie error and does not let you in.`]}),`\n`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Port`}),` – open it in the firewall:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`ufw`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` allow`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 5678/tcp`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Docker publishes the port past `,_jsx(_components.code,{children:`ufw`}),`: the panel is reachable from the internet even without this rule. More: `,_jsx(_components.a,{href:`/en/vps/docker#ports`,children:`Docker`}),`, `,_jsx(_components.a,{href:`/en/vps/firewall`,children:`Firewall`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Panel`}),` – open it in a browser and create the owner account with a password right away:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`2`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`http://SERVER_IP:5678`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`Until the account exists, anyone who opens the address can create it.`}),`\n`]}),`\n`]}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Workflows live in the `,_jsx(_components.code,{children:`n8n_data`}),` volume and survive container restarts. Delete the volume and you lose them.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`quick-test`,children:`Quick test`}),`\n`,_jsxs(_components.p,{children:[`Instead of step 2, if you only want to try it: a container with `,_jsx(_components.code,{children:`--rm`}),` starts in the current terminal and is removed when it stops. Workflows stay in the `,_jsx(_components.code,{children:`n8n_data`}),` volume. By IP without HTTPS, add `,_jsx(_components.code,{children:`-e N8N_SECURE_COOKIE=false`}),` here too.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`5`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`docker`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` run`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -it`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --rm`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --name`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` n8n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -p`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 5678:5678`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -v`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` n8n_data:/home/node/.n8n`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` docker.n8n.io/n8nio/n8n`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`domain-and-https`,children:`Domain and HTTPS`}),`\n`,_jsxs(_components.p,{children:[`For everyday use, do not keep the panel on a bare IP and port. Get a domain, put Nginx in front as a reverse proxy, and add HTTPS: the address becomes `,_jsx(_components.code,{children:`https://n8n.yourdomain`}),`. How: `,_jsx(_components.a,{href:`/en/vps/webserver`,children:`Web server (Nginx)`}),`, `,_jsx(_components.a,{href:`/en/vps/ssl`,children:`SSL and Let’s Encrypt`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Network or port not working – write to `,_jsx(_components.a,{href:`https://t.me/lumisup_robot`,children:`@lumisup_robot`}),`, software setup is on you.`]}),`\n`,_jsxs(_components.p,{children:[`Next: `,_jsx(_components.a,{href:`/en/vps/docker`,children:`Docker`}),`, `,_jsx(_components.a,{href:`/en/vps/backups`,children:`Backups`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"system","config":{},"pageMetadata":{"title":"n8n (automation)","sidebarTitle":"n8n","description":"No-code process automation","icon":"diagram-project","href":"/en/vps/n8n"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Installation","slug":"installation","depth":2,"children":[]},{"title":"Quick test","slug":"quick-test","depth":2,"children":[]},{"title":"Domain and HTTPS","slug":"domain-and-https","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"lumi-8e9f3d35","siteName":"Lumi","title":"n8n (automation) - Lumi","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"ru":{"href":"/vps/n8n","matchLevel":1},"en":{"href":"/en/vps/n8n","matchLevel":0}}},"lastModified":"2026-10-04T13:36:56.591Z","originalFileLocation":"en/vps/n8n.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"No-code process automation\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lumi\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"n8n (automation) - Lumi\">\u003cmeta data-mint-head property=\"og:description\" content=\"No-code process automation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lumi\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://wiki.lumiweb.cc/en/vps/n8n\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://lumi-8e9f3d35.mintlify.app/_mintlify/api/og/v2?division=Software+%26+services\u0026amp;title=n8n+%28automation%29\u0026amp;description=No-code+process+automation\u0026amp;theme=7c698ff8427173e2bbc2bba2\u0026amp;signature=e37b8d8b3e2edb60138733ac2fbc79f41c32f6ee02573e20f67734636887a40d\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"n8n (automation) - Lumi\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"No-code process automation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://lumi-8e9f3d35.mintlify.app/_mintlify/api/og/v2?division=Software+%26+services\u0026amp;title=n8n+%28automation%29\u0026amp;description=No-code+process+automation\u0026amp;theme=7c698ff8427173e2bbc2bba2\u0026amp;signature=e37b8d8b3e2edb60138733ac2fbc79f41c32f6ee02573e20f67734636887a40d\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/lumi-8e9f3d35/xL3B4vgHb9JI4RjC/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lumi\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0EA5E9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://wiki.lumiweb.cc/en/vps/n8n\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/en/vps/n8n.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://wiki.lumiweb.cc/en/vps/n8n\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ru\" href=\"https://wiki.lumiweb.cc/vps/n8n\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://wiki.lumiweb.cc/vps/n8n\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://wiki.lumiweb.cc/#organization\",\"name\":\"Lumi\",\"url\":\"https://wiki.lumiweb.cc\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/lumi-8e9f3d35/2MclTGnmS1VG2Abe/logo.svg?fit=max\u0026auto=format\u0026n=2MclTGnmS1VG2Abe\u0026q=85\u0026s=f86070567b66af34654de1a77f8360ff\"}},{\"@type\":\"WebSite\",\"@id\":\"https://wiki.lumiweb.cc#website\",\"name\":\"Lumi\",\"url\":\"https://wiki.lumiweb.cc\",\"publisher\":{\"@id\":\"https://wiki.lumiweb.cc/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://wiki.lumiweb.cc/en/vps/n8n#webpage\",\"url\":\"https://wiki.lumiweb.cc/en/vps/n8n\",\"name\":\"n8n (automation)\",\"description\":\"No-code process automation\",\"dateModified\":\"2026-10-04T13:36:56.591Z\",\"isPartOf\":{\"@id\":\"https://wiki.lumiweb.cc#website\"},\"breadcrumb\":{\"@id\":\"https://wiki.lumiweb.cc/en/vps/n8n#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://wiki.lumiweb.cc/en/vps/n8n#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Software \u0026 services\",\"item\":\"https://wiki.lumiweb.cc/en/vps/wireguard\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"n8n (automation)\",\"item\":\"https://wiki.lumiweb.cc/en/vps/n8n\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://wiki.lumiweb.cc/en/vps/n8n#article\",\"headline\":\"n8n (automation)\",\"name\":\"n8n (automation)\",\"description\":\"No-code process automation\",\"url\":\"https://wiki.lumiweb.cc/en/vps/n8n\",\"mainEntityOfPage\":{\"@id\":\"https://wiki.lumiweb.cc/en/vps/n8n#webpage\"},\"dateModified\":\"2026-10-04T13:36:56.591Z\",\"publisher\":{\"@id\":\"https://wiki.lumiweb.cc/#organization\"},\"isPartOf\":{\"@id\":\"https://wiki.lumiweb.cc#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lumi\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Lumi","nav":{"global":null,"languages":[{"language":"ru","default":true,"pages":[{"title":"ru","href":"/vps/n8n"}]},{"language":"en","tabs":[{"tab":"VPS","icon":"server","groups":[{"group":"Basics","icon":"server","pages":[{"title":"VPS plans","sidebarTitle":"Plans","icon":"gauge-high","href":"/en/vps"},{"title":"Server management","sidebarTitle":"Management","icon":"sliders","href":"/en/vps/manage"},{"title":"Locations and OS","sidebarTitle":"Locations and OS","icon":"earth-europe","href":"/en/vps/os"},{"title":"Connection","sidebarTitle":"Connection","icon":"terminal","href":"/en/vps/connect"}]},{"group":"Setup","icon":"screwdriver-wrench","pages":[{"title":"SSH keys","sidebarTitle":"SSH keys","icon":"key","href":"/en/vps/ssh-keys"},{"title":"Firewall (ufw)","sidebarTitle":"Firewall","icon":"shield-halved","href":"/en/vps/firewall"},{"title":"Backups","sidebarTitle":"Backups","icon":"box-archive","href":"/en/vps/backups"},{"title":"Swap file","sidebarTitle":"Swap","icon":"memory","href":"/en/vps/swap"},{"title":"Network configuration","sidebarTitle":"Network","icon":"network-wired","href":"/en/vps/network"},{"title":"Reverse DNS (PTR)","sidebarTitle":"Reverse DNS","icon":"arrows-rotate","href":"/en/vps/reverse-dns"},{"title":"Web server (Nginx)","sidebarTitle":"Web server","icon":"server","href":"/en/vps/webserver"},{"title":"SSL and Let's Encrypt","sidebarTitle":"SSL","icon":"lock","href":"/en/vps/ssl"}]},{"group":"Protection \u0026 issues","icon":"shield-halved","pages":[{"title":"Server hardening","sidebarTitle":"Hardening","icon":"lock","href":"/en/vps/hardening"},{"title":"VPS not working","sidebarTitle":"Not working","icon":"triangle-exclamation","href":"/en/vps/troubleshooting"}]},{"group":"Software \u0026 services","icon":"cubes","pages":[{"title":"WireGuard VPN","sidebarTitle":"WireGuard","icon":"shield-halved","href":"/en/vps/wireguard"},{"title":"OpenVPN","sidebarTitle":"OpenVPN","icon":"lock","href":"/en/vps/openvpn"},{"title":"Amnezia (no terminal)","sidebarTitle":"Amnezia","icon":"user-shield","href":"/en/vps/amnezia"},{"title":"3X-UI (Xray/VLESS)","sidebarTitle":"3X-UI","icon":"gauge-high","href":"/en/vps/3x-ui"},{"title":"Marzban","sidebarTitle":"Marzban","icon":"layer-group","href":"/en/vps/marzban"},{"title":"Your own proxy (3proxy)","sidebarTitle":"Your own proxy","icon":"network-wired","href":"/en/vps/proxy-3proxy"},{"title":"Docker","sidebarTitle":"Docker","description":"Installing Docker and running containers","icon":"box","href":"/en/vps/docker"},{"title":"n8n (automation)","sidebarTitle":"n8n","icon":"diagram-project","href":"/en/vps/n8n"},{"title":"Keitaro (tracker)","sidebarTitle":"Keitaro","description":"Traffic tracker for affiliate marketing","icon":"chart-line","href":"/en/vps/keitaro"},{"title":"Your own LLM (Ollama)","sidebarTitle":"Your own LLM","icon":"robot","href":"/en/vps/llm"},{"title":"MikroTik CHR","sidebarTitle":"MikroTik","icon":"route","href":"/en/vps/mikrotik"},{"title":"Coolify (your own PaaS)","sidebarTitle":"Coolify","icon":"rocket","href":"/en/vps/panel"}]}]}]}]},"title":"n8n (automation) - Lumi","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":[],"chunks":[]}