CoolFace
Apppublic

ArunKr/postgres-db

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

n8n + PostgreSQL on Hugging Face Spaces

This Space runs n8n (Workflow Automation) and PostgreSQL together in a single container.

  • n8n: Accessible via the Space URL (Port 7860).
  • PostgreSQL: Running internally on Port 5432.

⚠️ Note: Ephemeral Storage

You have chosen to use the container's built-in storage. Warning: This storage is ephemeral.

  • If the Space restarts (which happens after 48 hours of inactivity or during updates), ALL DATA (Workflows + DB) will be lost.
  • This setup is suitable for testing, demos, or temporary data.

Getting Started

  1. 1.Wait for the Space to build.
  2. 2.Open the Space URL.
  3. 3.Set up your n8n owner account.
  4. 4.To connect to the database in n8n, use:
  5. 5.Host: localhost
  6. 6.Port: 5432
  7. 7.Database: app_db
  8. 8.User: app_user
  9. 9.Password: app_password

Sample Workflow

A sample workflow file workflow.json is included in the files. You can import it to test the connection.