Compare commits
13 Commits
44cb2cf748
...
update-n8n
| Author | SHA1 | Date | |
|---|---|---|---|
| 8c94a9327d | |||
| 9aea81b32d | |||
| 5ca5f5ffc1 | |||
| aaf976f4db | |||
| a3a1ab6d2b | |||
| 02056b645a | |||
| 1344cca505 | |||
| c7f5edf7e6 | |||
| 557a7ce1bb | |||
| 8c447c4a0c | |||
| 8ab960b15a | |||
| 06ff58d06d | |||
| 99806b33d9 |
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
ARG N8N_VERSION=1.41.0
|
ARG N8N_VERSION=1.82.3
|
||||||
FROM docker.n8n.io/n8nio/n8n:${N8N_VERSION}
|
FROM docker.n8n.io/n8nio/n8n:${N8N_VERSION}
|
||||||
USER root
|
USER root
|
||||||
RUN apk add --no-cache --update jq bash
|
RUN apk add --no-cache --update jq bash
|
||||||
|
|||||||
+10
-3
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Hass n8n",
|
"name": "Hass n8n",
|
||||||
"version": "1.30.1",
|
"version": "1.72.1",
|
||||||
"slug": "hass-n8n",
|
"slug": "hass-n8n",
|
||||||
"description": "Self host your n8n instance",
|
"description": "Self host your n8n instance",
|
||||||
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
|
||||||
@@ -9,7 +9,10 @@
|
|||||||
"icon": "ico.png",
|
"icon": "ico.png",
|
||||||
"logo": "ico.png",
|
"logo": "ico.png",
|
||||||
"webui": "[PROTO:protocol]://[HOST]:[PORT:5678]/",
|
"webui": "[PROTO:protocol]://[HOST]:[PORT:5678]/",
|
||||||
"map": ["ssl", "share"],
|
"map": [
|
||||||
|
"share:rw",
|
||||||
|
"ssl:rw"
|
||||||
|
],
|
||||||
"apparmor": true,
|
"apparmor": true,
|
||||||
"ports": {
|
"ports": {
|
||||||
"5678/tcp": 5678
|
"5678/tcp": 5678
|
||||||
@@ -32,9 +35,13 @@
|
|||||||
"env_vars_list": [
|
"env_vars_list": [
|
||||||
"WEBHOOK_URL: https://n8n.automator.dedyn.io"
|
"WEBHOOK_URL: https://n8n.automator.dedyn.io"
|
||||||
],
|
],
|
||||||
"cmd_line_args": "start"
|
"cmd_line_args": "start",
|
||||||
|
"encryption_key": "",
|
||||||
|
"user_folder": "/share/n8n"
|
||||||
},
|
},
|
||||||
"schema": {
|
"schema": {
|
||||||
|
"encryption_key": "str?",
|
||||||
|
"user_folder": "str?",
|
||||||
"auth": "bool",
|
"auth": "bool",
|
||||||
"auth_username": "str?",
|
"auth_username": "str?",
|
||||||
"auth_password": "str?",
|
"auth_password": "str?",
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CONFIG_PATH="/data/options.json"
|
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"
|
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_PROTOCOL="$(jq --raw-output '.protocol // empty' $CONFIG_PATH)"
|
||||||
export N8N_SSL_CERT="/ssl/$(jq --raw-output '.certfile // 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_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_USER_FOLDER="${N8N_PATH}"
|
||||||
|
|
||||||
export N8N_CMD_LINE="$(jq --raw-output '.cmd_line_args // empty' $CONFIG_PATH)"
|
export N8N_CMD_LINE="$(jq --raw-output '.cmd_line_args // empty' $CONFIG_PATH)"
|
||||||
|
|||||||
Reference in New Issue
Block a user