← すべてのガイド
n8n
n8n is a fair-code workflow automation tool for building integrations and automations visually, with an official Docker image for self-hosting.
このガイドは上記リンク先にあるn8n公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
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.