mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-04 02:46:23 +00:00
refactored all to dev
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
# n8n
|
||||
|
||||
It means "nodemation" and it is pronounced as n-eight-n.
|
||||
Free and open fair-code licensed node based Workflow Automation Tool.
|
||||
|
||||
## 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.
|
||||
@@ -0,0 +1,20 @@
|
||||
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"
|
||||
@@ -0,0 +1,7 @@
|
||||
VOL_PATH=./data
|
||||
TZ="America/Vancouver"
|
||||
|
||||
# n8n
|
||||
N8N_IMAGE=n8nio/n8n:latest # or 1.70.2
|
||||
N8N_PORT=5678
|
||||
N8N_HOST=localhost
|
||||
Reference in New Issue
Block a user