2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-21 13:23:02 +01:00

update n8n

This commit is contained in:
kev
2024-05-22 15:16:18 +08:00
parent fcbc7fd2cb
commit 38cd986dd4
3 changed files with 8 additions and 15 deletions

View File

@@ -1,8 +1,6 @@
n8n n8n
=== ===
[n8n][1] (pronounced n-eight-n) helps you to interconnect every app with an API in [n8n][1] (pronounced n-eight-n) is a fair-code licensed node-based workflow automation tool.
the world with each other to share and manipulate its data without a single
line of code.
[1]: https://n8n.io/ [1]: https://docs.n8n.io/

View File

@@ -1,9 +0,0 @@
version: "3.8"
services:
n8n:
image: n8nio/n8n:latest-rpi
ports:
- "5678:5678"
volumes:
- ./data:/home/node/.n8n
restart: unless-stopped

View File

@@ -3,7 +3,7 @@ version: "3.8"
services: services:
n8n: n8n:
image: n8nio/n8n image: n8nio/n8n:1.42.1
ports: ports:
- "5678:5678" - "5678:5678"
volumes: volumes:
@@ -15,15 +15,19 @@ services:
- DB_POSTGRESDB_DATABASE=n8n - DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=n8n - DB_POSTGRESDB_USER=n8n
- DB_POSTGRESDB_PASSWORD=n8n - DB_POSTGRESDB_PASSWORD=n8n
- DB_POSTGRESDB_SCHEMA=public
- N8N_BASIC_AUTH_ACTIVE=true - N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=username - N8N_BASIC_AUTH_USER=username
- N8N_BASIC_AUTH_PASSWORD=password - N8N_BASIC_AUTH_PASSWORD=password
- WEBHOOK_URL=https://n8n.easypi.duckdns.org/
- GENERIC_TIMEZONE=Asia/Shanghai
- TZ=Asia/Shanghai
depends_on: depends_on:
- postgres - postgres
restart: unless-stopped restart: unless-stopped
postgres: postgres:
image: postgres:14-alpine image: postgres:16-alpine
ports: ports:
- "5432:5432" - "5432:5432"
volumes: volumes: