Last active
April 10, 2025 09:42
-
-
Save up1/a7f69c9893703260229fc02baff517de to your computer and use it in GitHub Desktop.
Install n8n with docker compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$docker compose up -d | |
$docker compose ps | |
NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS | |
n8n n8nio/n8n "tini -- /docker-ent…" n8n 15 minutes ago Up 15 minutes 0.0.0.0:5678->5678/tcp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
n8n: | |
image: n8nio/n8n | |
container_name: n8n | |
restart: always | |
ports: | |
- 5678:5678 | |
environment: | |
- DB_TYPE=sqlite | |
- DB_SQLITE_VACUUM_ON_STARTUP=true | |
- N8N_HOST=localhost | |
- N8N_PORT=5678 | |
- N8N_PROTOCOL=http | |
- NODE_ENV=production | |
- EXECUTIONS_PROCESS=main | |
- EXECUTIONS_DATA_SAVE_ON_ERROR=all | |
- EXECUTIONS_DATA_SAVE_MANUAL_EXECUTION=all | |
- GENERIC_TIMEZONE=UTC | |
volumes: | |
- ./n8n:/home/node/.n8n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment