From 58466b1ce51c745e17c50c47ff09629e635ebfb3 Mon Sep 17 00:00:00 2001 From: Nicolas Meienberger Date: Fri, 23 Sep 2022 18:10:47 +0200 Subject: [PATCH] refactor(n8n) random db password and bump version --- apps/n8n/config.json | 14 +++++++++++--- apps/n8n/docker-compose.yml | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/apps/n8n/config.json b/apps/n8n/config.json index 5fa04fe7..ed9f4549 100644 --- a/apps/n8n/config.json +++ b/apps/n8n/config.json @@ -4,13 +4,21 @@ "available": true, "port": 8094, "id": "n8n", - "tipi_version": 1, - "version": "0.186.1", + "tipi_version": 2, + "version": "0.195.5", "categories": ["automation"], "description": "n8n is an extendable workflow automation tool. With a fair-code distribution model, n8n will always have visible source code, be available to self-host, and allow you to add your own custom functions, logic and apps. n8n's node-based approach makes it highly versatile, enabling you to connect anything to everything.", "short_desc": "Workflow Automation Tool. Alternative to Zapier", "author": "n8n.io", "source": "https://github.com/n8n-io/n8n", "website": "https://n8n.io/", - "form_fields": [] + "form_fields": [ + { + "type": "random", + "label": "Database password", + "min": 30, + "max": 30, + "env_variable": "DB_PASSWORD" + } + ] } diff --git a/apps/n8n/docker-compose.yml b/apps/n8n/docker-compose.yml index 86743c25..efb85ae8 100644 --- a/apps/n8n/docker-compose.yml +++ b/apps/n8n/docker-compose.yml @@ -8,7 +8,7 @@ services: volumes: - ${APP_DATA_DIR}/data/db:/var/lib/postgresql/data environment: - - POSTGRES_PASSWORD=tipi + - POSTGRES_PASSWORD=${DB_PASSWORD} - POSTGRES_USER=tipi - POSTGRES_DB=n8n networks: @@ -16,7 +16,7 @@ services: n8n: container_name: n8n - image: n8nio/n8n:0.186.1 + image: n8nio/n8n:0.195.5 restart: unless-stopped ports: - ${APP_PORT}:5678