added n8n and updated some documenation

This commit is contained in:
2024-12-04 07:57:12 -08:00
parent 9be217382a
commit feea906894
7 changed files with 71 additions and 3 deletions
+29
View File
@@ -0,0 +1,29 @@
# n8n
It means "nodemation" and it is pronounced as n-eight-n.
Free and open fair-code licensed node based Workflow Automation Tool.
Last Updated: Wed December 04, 2024 06:31:09 PDT
## Overview
Docker Hub Docs: https://hub.docker.com/r/n8nio/n8n#start-n8n-in-docker
Official docs docker-compose: https://docs.n8n.io/hosting/installation/server-setups/docker-compose/#5-create-docker-compose-file
Docker Hub Tags: https://hub.docker.com/r/n8nio/n8n/tags
Proxy Port: 5678
## Notes
There is a license key required, which is free at the time of writing.
### Setup
You need to setup the data directory
```
mkdir -p data/n8n/
chown -R 1000:1000 data/
```
When you load the page for the first time it will ask for an admin account.
+22
View File
@@ -0,0 +1,22 @@
version: '3.8'
services:
n8n:
image: ${N8N_IMAGE:-n8nio/n8n:latest}
restart: unless-stopped
volumes:
- ${VOL_PATH}/n8n:/home/node/.n8n
- ${VOL_PATH}/n8n-files:/files
ports:
- "5678:${N8N_PORT:-5678}"
environment:
- GENERIC_TIMEZONE=${TZ:-America/Vancouver}
- TZ=${TZ:-America/Vancouver}
- NODE_ENV=production
- N8N_PROTOCOL=http
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- DB_SQLITE_VACUUM_ON_STARTUP=false
- N8N_PORT=${N8N_PORT:-5678}
- N8N_HOST=${N8N_HOST:-http://localhost:5678}
- WEBHOOK_URL=${N8N_HOST:-http://localhost:5678}
user: "1000:1000"
+7
View File
@@ -0,0 +1,7 @@
version: '3.4'
services:
n8n:
extends:
file: ${COOKBOOK}/n8n/docker-compose.yml
service: n8n
+8
View File
@@ -0,0 +1,8 @@
COOKBOOK=/git/docker-compose-cookbooks
VOL_PATH=./data
TZ="America/Vancouver"
# n8n
N8N_IMAGE=n8nio/n8n:latest # or 1.70.2
N8N_PORT=5678
N8N_HOST=localhost