Spaces:
Running
Running
|
Download SETUP.md from sivakumar330/Automations: direct link, hf CLI and curl.
- Browser
- Download file 1.44 kB
-
https://huggingface.co/spaces/sivakumar330/Automations/resolve/main/SETUP.md
- Command line
-
hf download hf://spaces/sivakumar330/Automations/SETUP.md
-
curl -L -o SETUP.md https://huggingface.co/spaces/sivakumar330/Automations/resolve/main/SETUP.md
1.44 kB
| # n8n on Hugging Face - Setup (Tamil/English) | |
| ## 1. Free Postgres DB create pannunga (data save aaga) | |
| HF free Space restart aana files azhinjidum. So Neon (neon.tech) or Supabase la free Postgres create pannunga. | |
| Connection details note pannunga: host, database, user, password. | |
| ## 2. HF Space create | |
| - huggingface.co/new-space -> SDK: **Docker** -> Blank -> Public/Private | |
| - Ella files um (Dockerfile, start.sh, README.md) upload pannunga | |
| ## 3. Space -> Settings -> Variables and secrets | |
| **Secrets:** | |
| | Name | Value | | |
| |---|---| | |
| | N8N_ENCRYPTION_KEY | any long random string (command: `openssl rand -hex 24`) | | |
| | DB_POSTGRESDB_PASSWORD | your DB password | | |
| **Variables:** | |
| | Name | Value | | |
| |---|---| | |
| | DB_POSTGRESDB_HOST | e.g. ep-xxxx.ap-southeast-1.aws.neon.tech | | |
| | DB_POSTGRESDB_DATABASE | neondb | | |
| | DB_POSTGRESDB_USER | neondb_owner | | |
| | DB_POSTGRESDB_PORT | 5432 | | |
| ## 4. Run | |
| Space automatically build aagum (2-4 min). Build mudinjathum "Running" nu varum. | |
| Open pannunga -> first time owner account setup screen varum. | |
| ## Notes | |
| - N8N_ENCRYPTION_KEY maathathinga, illana credentials decrypt aagathu. | |
| - Free Space 48 hrs inactive na sleep aagum. Webhooks work aaga Space awake-a irukanum | |
| (UptimeRobot la `https://<space>.hf.space/healthz` ping pannalam). | |
| - Private Space na external webhooks work aagathu - Public vechukonga. | |
| - Local la test: `docker build -t n8n-hf . && docker run -p 5678:5678 -e N8N_PROTOCOL=http n8n-hf` | |