pridano n8n

This commit is contained in:
klas
2025-02-18 10:38:38 +01:00
commit 65e1f6e343
2 changed files with 37 additions and 0 deletions

37
n8n/docker-compose.yaml Normal file
View File

@@ -0,0 +1,37 @@
services:
n8n:
image: docker.n8n.io/n8nio/n8n
#ports:
# - "5678:5678"
network_mode: host
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=klas
- N8N_BASIC_AUTH_PASSWORD=WPL8tvsmG7vwtg
- N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true
- N8N_ENCRYPTION_KEY=d79wpbgpZmY8SL+A3d0Bta2xxQBTsRA2
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=localhost
- DB_POSTGRESDB_PORT=5433
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=qZrd4fSorV5i4a
- NODE_FUNCTION_ALLOW_EXTERNAL=axios,qs
depends_on:
- db
restart: unless-stopped
db:
image: postgres:12
network_mode: host
command: -p 5433
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_USER=n8n
- POSTGRES_PASSWORD=qZrd4fSorV5i4a
- POSTGRES_DB=n8n
restart: unless-stopped
volumes:
db-data:

BIN
n8n/filebrowser.db Normal file

Binary file not shown.