CoolFace
Apppublic

svsdlmao/n8n_workflow

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
App README

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.com
  • —DB_POSTGRESDB_DATABASE — postgres
  • —DB_POSTGRESDB_USER — postgres.<project-ref> (pooler format)
  • —DB_POSTGRESDB_PASSWORD — DB password
  • —N8N_ENCRYPTION_KEY — random 32+ char string; never change after first run
  • —N8N_BASIC_AUTH_USER
  • —N8N_BASIC_AUTH_PASSWORD

Variables (public, but still set here):

  • —WEBHOOK_URL — https://svsdlmao-n8n-workflow.hf.space/
  • —N8N_HOST — svsdlmao-n8n-workflow.hf.space
  • —N8N_PROTOCOL — https

Supabase setup

Run once in the SQL editor:

sql
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.