Spaces:
Running
Running
Download space-variables.env from sivakumar330/Automations: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/spaces/sivakumar330/Automations/resolve/main/space-variables.env
- Command line
-
hf download hf://spaces/sivakumar330/Automations/space-variables.env
-
curl -L -o space-variables.env https://huggingface.co/spaces/sivakumar330/Automations/resolve/main/space-variables.env
1.3 kB
| # ============================================================ | |
| # Hugging Face Space > Settings > Variables and secrets | |
| # (Secrets = hidden values. Variables = normal values.) | |
| # Replace <user> and <space> with your HF username and Space name. | |
| # ============================================================ | |
| # ---- Variables ---- | |
| N8N_HOST=<user>-<space>.hf.space | |
| WEBHOOK_URL=https://<user>-<space>.hf.space/ | |
| N8N_EDITOR_BASE_URL=https://<user>-<space>.hf.space/ | |
| # ---- Secrets (IMPORTANT) ---- | |
| # Generate once: openssl rand -hex 32 and NEVER change it later, | |
| # otherwise all saved credentials (Telegram, Google) become unreadable. | |
| N8N_ENCRYPTION_KEY=<64-char-random-hex> | |
| # ---- Database (so workflows/credentials survive restarts) ---- | |
| # HF disk is wiped on every restart. Use your Supabase / any Postgres: | |
| DB_TYPE=postgresdb | |
| DB_POSTGRESDB_HOST=<db-host> | |
| DB_POSTGRESDB_PORT=5432 | |
| DB_POSTGRESDB_DATABASE=postgres | |
| DB_POSTGRESDB_USER=<db-user> | |
| DB_POSTGRESDB_PASSWORD=<db-password> | |
| DB_POSTGRESDB_SCHEMA=n8n | |
| DB_POSTGRESDB_SSL_ENABLED=true | |
| DB_POSTGRESDB_SSL_REJECT_UNAUTHORIZED=false | |
| # ============================================================ | |
| # Space README.md header must contain: | |
| # --- | |
| # title: n8n | |
| # sdk: docker | |
| # app_port: 7860 | |
| # --- | |
| # ============================================================ | |