Compare commits

...

10 Commits

Author SHA1 Message Date
goldbillka 44cb2cf748 Update 'hass-n8n/Dockerfile' 2024-05-09 17:41:45 +00:00
goldbillka 75f3b9f621 Update 'hass-n8n/Dockerfile' 2024-05-09 16:47:58 +00:00
goldbillka 6d1b36530c Updated n8n image to 1.30.1 2024-02-24 09:40:00 +00:00
goldbillka ad90c45804 Updated n8n config to 1.30.1 2024-02-24 09:39:29 +00:00
goldbillka 1a5d7447ec Updated n8n version 2023-10-20 18:49:30 +00:00
goldbillka 74f09c0cf7 Fixed build error 2023-10-20 18:49:16 +00:00
goldbillka e321a8abb6 Updated n8n version 2023-10-20 18:40:54 +00:00
goldbillka c9b5b61398 Fixed build error 2023-10-20 18:38:55 +00:00
goldbillka bf400a2060 Update 'hass-n8n/config.json' 2023-10-20 16:48:19 +00:00
goldbillka 4e5ecb91a3 Fixed build error 2023-10-20 16:47:54 +00:00
3 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
ARG N8N_VERSION=ai-beta
ARG N8N_VERSION=1.41.0
FROM docker.n8n.io/n8nio/n8n:${N8N_VERSION}
USER root
RUN apk add --no-cache --update jq bash
+10 -4
View File
@@ -1,6 +1,6 @@
{
"name": "Hass n8n",
"version": "1.11.1.8",
"version": "1.30.1",
"slug": "hass-n8n",
"description": "Self host your n8n instance",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
@@ -21,15 +21,18 @@
"auth": false,
"auth_username": "",
"auth_password": "",
"n8n_host": "n8n.automator.keenetic.link",
"n8n_host": "n8n.automator.dedyn.io",
"n8n_port": "5678",
"node_env": "production",
"webhook_tunnel_url": "https://n8n.automator.keenetic.link/",
"webhook_tunnel_url": "https://n8n.automator.dedyn.io/",
"timezone": "Europe/Kiev",
"protocol": "http",
"certfile": "fullchain_fixed.pem",
"keyfile": "privkey_fixed.pem",
"cmd_line_args": ""
"env_vars_list": [
"WEBHOOK_URL: https://n8n.automator.dedyn.io"
],
"cmd_line_args": "start"
},
"schema": {
"auth": "bool",
@@ -43,6 +46,9 @@
"protocol": "str",
"certfile": "str",
"keyfile": "str",
"env_vars_list": [
"match(^[A-Z_0-9]+: .*$)"
],
"cmd_line_args": "str?"
}
}
+7 -6
View File
@@ -26,7 +26,11 @@ do
export "$key"="$value"
echo "exported ${key}=${value}"
done
export N8N_HOST="$(jq --raw-output '.n8n_host // empty' $CONFIG_PATH)"
export N8N_PORT="$(jq --raw-output '.n8n_port // empty' $CONFIG_PATH)"
export NODE_ENV="$(jq --raw-output '.node_env // empty' $CONFIG_PATH)"
export WEBHOOK_TUNNEL_URL="$(jq --raw-output '.webhook_tunnel_url // empty' $CONFIG_PATH)"
export N8N_BASIC_AUTH_ACTIVE="$(jq --raw-output '.auth // empty' $CONFIG_PATH)"
export N8N_BASIC_AUTH_USER="$(jq --raw-output '.auth_username // empty' $CONFIG_PATH)"
export N8N_BASIC_AUTH_PASSWORD="$(jq --raw-output '.auth_password // empty' $CONFIG_PATH)"
@@ -34,13 +38,10 @@ 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_CMD_LINE="$(jq --raw-output '.cmd_line_args // empty' $CONFIG_PATH)"
export N8N_USER_FOLDER="${N8N_PATH}"
export N8N_HOST="$(jq --raw-output '.n8n_host // empty' $CONFIG_PATH)"
export N8N_PORT="$(jq --raw-output '.n8n_port // empty' $CONFIG_PATH)"
export NODE_ENV="$(jq --raw-output '.mode_env // empty' $CONFIG_PATH)"
export WEBHOOK_TUNNEL_URL="$(jq --raw-output '.webhook_tunnel_url // empty' $CONFIG_PATH)"
export N8N_CMD_LINE="$(jq --raw-output '.cmd_line_args // empty' $CONFIG_PATH)"
if [ -z "${N8N_BASIC_AUTH_USER}" ] || [ -z "${N8N_BASIC_AUTH_ACTIVE}" ]; then
export N8N_BASIC_AUTH_ACTIVE=false