svsdlmao/n8n_workflow
0
n8n on Hugging Face Spaces
Self-hosted n8n with Supabase Postgres as the backing store.
Required Space secrets
Set these in Space → Settings → Variables and secrets.
Secrets (encrypted):
DB_POSTGRESDB_HOST— Supabase pooler host, e.g.aws-1-ap-northeast-1.pooler.supabase.comDB_POSTGRESDB_DATABASE—postgresDB_POSTGRESDB_USER—postgres.<project-ref>(pooler format)DB_POSTGRESDB_PASSWORD— DB passwordN8N_ENCRYPTION_KEY— random 32+ char string; never change after first runN8N_BASIC_AUTH_USERN8N_BASIC_AUTH_PASSWORD
Variables (public, but still set here):
WEBHOOK_URL—https://svsdlmao-n8n-workflow.hf.space/N8N_HOST—svsdlmao-n8n-workflow.hf.spaceN8N_PROTOCOL—https
Supabase setup
Run once in the SQL editor:
create schema if not exists n8n;Use the Session pooler connection string from Supabase → Project Settings → Database (port 5432). Free tier has no direct IPv4 — pooler is required.
