diff --git a/templates/compose/n8n-with-postgresql.yaml b/templates/compose/n8n-with-postgresql.yaml index d66cd2aa7..e5d327112 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 3ac93eb23..396be21bc 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: