Skip to content

Commit

Permalink
COSMETICS
Browse files Browse the repository at this point in the history
  • Loading branch information
compgeniuses committed Feb 4, 2024
1 parent e4c8d13 commit b0f2137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions build-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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
Expand Down
3 changes: 1 addition & 2 deletions imageroot/systemd/user/n8n-server.service
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,14 @@ 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 \
--env=DB_POSTGRESDB_PORT=5432 \
--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 \
Expand Down

0 comments on commit b0f2137

Please sign in to comment.