Files
tkb_timeshift/n8n/docker-compose.yaml
2025-02-18 10:38:38 +01:00

38 lines
945 B
YAML

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: