Compare commits
10 Commits
efe204206b
...
44cb2cf748
| Author | SHA1 | Date | |
|---|---|---|---|
| 44cb2cf748 | |||
| 75f3b9f621 | |||
| 6d1b36530c | |||
| ad90c45804 | |||
| 1a5d7447ec | |||
| 74f09c0cf7 | |||
| e321a8abb6 | |||
| c9b5b61398 | |||
| bf400a2060 | |||
| 4e5ecb91a3 |
+1
-1
@@ -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
@@ -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?"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user