← Todos os guias
n8n
n8n is a fair-code workflow automation tool for building integrations and automations visually, with an official Docker image for self-hosting.
Este guia foi elaborado a partir da documentação oficial do n8n, ligada acima — verifique sempre lá os nomes exatos dos pacotes/versões antes de executar estes comandos num servidor de produção, uma vez que as versões da distribuição e do projeto mudam com o tempo.
1Create a persistent volume
docker volume create n8n_data2Run n8n
docker run -it --rm \ --name n8n \ -p 5678:5678 \ -e GENERIC_TIMEZONE="Europe/Berlin" \ -e TZ="Europe/Berlin" \ -e N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true \ -e N8N_RUNNERS_ENABLED=true \ -v n8n_data:/home/node/.n8n \ n8nio/n8nReplace the timezone with your own from the tz database. n8n's docs warn that self-hosting is aimed at experienced users — mistakes can cause data loss or downtime.
3Access the editor
Open http://localhost:5678 and complete the on-screen owner account setup.
4Consider Docker Compose for a full stack
For a more complete self-hosted setup (including n8n's task runners and optional web-search sandbox), n8n publishes ready-made Docker Compose configurations in its n8n-hosting GitHub repository.