Compare commits

...

13 Commits

3 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
ARG N8N_VERSION=1.41.0
ARG N8N_VERSION=1.82.3
FROM docker.n8n.io/n8nio/n8n:${N8N_VERSION}
USER root
RUN apk add --no-cache --update jq bash
+10 -3
View File
@@ -1,6 +1,6 @@
{
"name": "Hass n8n",
"version": "1.30.1",
"version": "1.72.1",
"slug": "hass-n8n",
"description": "Self host your n8n instance",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
@@ -9,7 +9,10 @@
"icon": "ico.png",
"logo": "ico.png",
"webui": "[PROTO:protocol]://[HOST]:[PORT:5678]/",
"map": ["ssl", "share"],
"map": [
"share:rw",
"ssl:rw"
],
"apparmor": true,
"ports": {
"5678/tcp": 5678
@@ -32,9 +35,13 @@
"env_vars_list": [
"WEBHOOK_URL: https://n8n.automator.dedyn.io"
],
"cmd_line_args": "start"
"cmd_line_args": "start",
"encryption_key": "",
"user_folder": "/share/n8n"
},
"schema": {
"encryption_key": "str?",
"user_folder": "str?",
"auth": "bool",
"auth_username": "str?",
"auth_password": "str?",
+2 -1
View File
@@ -1,7 +1,7 @@
#!/bin/bash
CONFIG_PATH="/data/options.json"
N8N_PATH="/data/n8n"
N8N_PATH="$(jq --raw-output '.user_folder // empty' $CONFIG_PATH)"
mkdir -p "${N8N_PATH}/.n8n/.cache"
@@ -38,6 +38,7 @@ export GENERIC_TIMEZONE="$(jq --raw-output '.timezone // empty' $CONFIG_PATH)"
export N8N_PROTOCOL="$(jq --raw-output '.protocol // empty' $CONFIG_PATH)"
export N8N_SSL_CERT="/ssl/$(jq --raw-output '.certfile // empty' $CONFIG_PATH)"
export N8N_SSL_KEY="/ssl/$(jq --raw-output '.keyfile // empty' $CONFIG_PATH)"
export N8N_ENCRYPTION_KEY="$(jq --raw-output '.encryption_key // empty' $CONFIG_PATH)"
export N8N_USER_FOLDER="${N8N_PATH}"
export N8N_CMD_LINE="$(jq --raw-output '.cmd_line_args // empty' $CONFIG_PATH)"