Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix: n8n timezone

peaklabs-dev337d636182c4
diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml
index d66cd2aa75..e5d327112b 100644
--- a/templates/compose/n8n-with-postgresql.yaml
+++ b/templates/compose/n8n-with-postgresql.yaml
@@ -12,8 +12,8 @@ services:
- N8N_EDITOR_BASE_URL=${SERVICE_FQDN_N8N}
- WEBHOOK_URL=${SERVICE_FQDN_N8N}
- N8N_HOST=${SERVICE_URL_N8N}
- - GENERIC_TIMEZONE=Europe/Berlin
- - TZ=Europe/Berlin
+ - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin}
+ - TZ=${TZ:-Europe/Berlin}
- DB_TYPE=postgresdb
- DB_POSTGRESDB_DATABASE=${POSTGRES_DB:-n8n}
- DB_POSTGRESDB_HOST=postgresql
diff --git a/templates/compose/n8n.yaml b/templates/compose/n8n.yaml
index 3ac93eb235..396be21bce 100644
--- a/templates/compose/n8n.yaml
+++ b/templates/compose/n8n.yaml
@@ -12,8 +12,8 @@ services:
- N8N_EDITOR_BASE_URL=${SERVICE_FQDN_N8N}
- WEBHOOK_URL=${SERVICE_FQDN_N8N}
- N8N_HOST=${SERVICE_URL_N8N}
- - GENERIC_TIMEZONE=Europe/Berlin
- - TZ=Europe/Berlin
+ - GENERIC_TIMEZONE=${GENERIC_TIMEZONE:-Europe/Berlin}
+ - TZ=${TZ:-Europe/Berlin}
volumes:
- n8n-data:/home/node/.n8n
healthcheck: