From 38cd986dd4c06fdd6cde5bba4c8ce9fc93ec1761 Mon Sep 17 00:00:00 2001 From: kev Date: Wed, 22 May 2024 15:16:18 +0800 Subject: [PATCH] update n8n --- n8n/README.md | 6 ++---- n8n/arm/docker-compose.yml | 9 --------- n8n/docker-compose.yml | 8 ++++++-- 3 files changed, 8 insertions(+), 15 deletions(-) delete mode 100644 n8n/arm/docker-compose.yml diff --git a/n8n/README.md b/n8n/README.md index ca20360..ceac94c 100644 --- a/n8n/README.md +++ b/n8n/README.md @@ -1,8 +1,6 @@ n8n === -[n8n][1] (pronounced n-eight-n) helps you to interconnect every app with an API in -the world with each other to share and manipulate its data without a single -line of code. +[n8n][1] (pronounced n-eight-n) is a fair-code licensed node-based workflow automation tool. -[1]: https://n8n.io/ +[1]: https://docs.n8n.io/ diff --git a/n8n/arm/docker-compose.yml b/n8n/arm/docker-compose.yml deleted file mode 100644 index 5ce6ce2..0000000 --- a/n8n/arm/docker-compose.yml +++ /dev/null @@ -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 diff --git a/n8n/docker-compose.yml b/n8n/docker-compose.yml index 319b70d..0f4d0ee 100644 --- a/n8n/docker-compose.yml +++ b/n8n/docker-compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: n8n: - image: n8nio/n8n + image: n8nio/n8n:1.42.1 ports: - "5678:5678" volumes: @@ -15,15 +15,19 @@ services: - DB_POSTGRESDB_DATABASE=n8n - DB_POSTGRESDB_USER=n8n - DB_POSTGRESDB_PASSWORD=n8n + - DB_POSTGRESDB_SCHEMA=public - N8N_BASIC_AUTH_ACTIVE=true - N8N_BASIC_AUTH_USER=username - N8N_BASIC_AUTH_PASSWORD=password + - WEBHOOK_URL=https://n8n.easypi.duckdns.org/ + - GENERIC_TIMEZONE=Asia/Shanghai + - TZ=Asia/Shanghai depends_on: - postgres restart: unless-stopped postgres: - image: postgres:14-alpine + image: postgres:16-alpine ports: - "5432:5432" volumes: