From b0f21370dcb611576d55e4e2e52a8825bf3aed9a Mon Sep 17 00:00:00 2001 From: Martin Bhuong Date: Sun, 4 Feb 2024 23:29:36 +0100 Subject: [PATCH] COSMETICS --- build-images.sh | 4 ++-- imageroot/systemd/user/n8n-server.service | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build-images.sh b/build-images.sh index fb4fcf3..c76458d 100644 --- a/build-images.sh +++ b/build-images.sh @@ -14,7 +14,7 @@ images=() repobase="${REPOBASE:-ghcr.io/compgeniuses}" # Configure the image name reponame="n8n" -n8n_version="1.27.2" +N8N_VERSION="1.27.2" # Create a new empty container image container=$(buildah from scratch) @@ -40,7 +40,7 @@ buildah config --entrypoint=/ \ --label="org.nethserver.authorizations=traefik@node:routeadm" \ --label="org.nethserver.tcp-ports-demand=1" \ --label="org.nethserver.rootfull=0" \ - --label="org.nethserver.images=docker.io/library/redis:7.2.3-bookworm docker.io/library/postgres:15.5-bookworm docker.io/n8nio/n8n:${n8n_version}" \ + --label="org.nethserver.images=docker.io/library/redis:7.2.3-bookworm docker.io/library/postgres:15.5-bookworm docker.io/n8nio/n8n:${N8N_VERSION}" \ --label="org.nethserver.tcp-ports-demand=1" \ "${container}" # Commit the image diff --git a/imageroot/systemd/user/n8n-server.service b/imageroot/systemd/user/n8n-server.service index 1082f52..03a5a7c 100644 --- a/imageroot/systemd/user/n8n-server.service +++ b/imageroot/systemd/user/n8n-server.service @@ -29,7 +29,6 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/n8n-server.pid \ --cgroups=no-conmon \ --pod-id-file=%t/n8n.pod-id \ --replace --name=%N \ - --env-file=smarthost.env \ --env=n8n_* \ --env=DB_TYPE=postgresdb \ --env=DB_POSTGRESDB_HOST=127.0.0.1 \ @@ -37,7 +36,7 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/n8n-server.pid \ --env=DB_POSTGRESDB_DATABASE=${POSTGRES_DATABASE} \ --env=DB_POSTGRESDB_USER=${POSTGRES_NON_ROOT_USER} \ --env=DB_POSTGRESDB_PASSWORD=${POSTGRES_NON_ROOT_PASSWORD} \ - --env=e GENERIC_TIMEZONE=Europe/Berlin \ + --env=GENERIC_TIMEZONE=Europe/Berlin \ --env=TZ=Africa/Nairobi \ --env=N8N_HOST=${N8N_HOST} \ --env=N8N_PROTOCOL=https \