← Tutte le guide
n8n
n8n is a fair-code workflow automation tool for building integrations and automations visually, with an official Docker image for self-hosting.
Questa guida è redatta a partire dalla documentazione ufficiale di n8n, linkata sopra — verifica sempre lì i nomi esatti di pacchetti/versioni prima di eseguire questi comandi su un server di produzione, poiché le versioni della distribuzione e del progetto cambiano nel 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.