File size: 1,379 Bytes
320e776
42a7d7b
 
320e776
42a7d7b
 
320e776
42a7d7b
 
 
 
 
 
 
 
 
320e776
42a7d7b
 
 
 
 
 
 
320e776
42a7d7b
 
 
 
 
 
 
 
320e776
524ec79
320e776
42a7d7b
 
 
 
 
320e776
42a7d7b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Your Hugging Face write token
HF_TOKEN=

# Your Hugging Face username (inferred automatically on HF Spaces)
HF_USERNAME=

# Name of the private dataset repo used for backup
BACKUP_DATASET_NAME=hugging8n-backup

# How often to sync the backup, in seconds
SYNC_INTERVAL=180

# -----------------------------------------------------------------------------
# OPTIONAL — n8n Configuration
# -----------------------------------------------------------------------------

# Timezone for n8n triggers (e.g. Asia/Dhaka)
GENERIC_TIMEZONE=UTC

# n8n encryption key — protects stored credentials. Persisted in backup.
# Generate with: openssl rand -hex 32
N8N_ENCRYPTION_KEY=

# -----------------------------------------------------------------------------
# ADVANCED — n8n Internals
# -----------------------------------------------------------------------------

# Internal n8n port (default: 5678)
N8N_PORT=5678

# Public proxy port exposed by HF Spaces (default: 7861)
PUBLIC_PORT=7861

# Disable unnecessary services
N8N_PYTHON_NODES_ENABLED=false
N8N_LICENSE_AUTO_RENEW_ENABLED=false

# -----------------------------------------------------------------------------
# BUILD-TIME VARIABLE (HF Spaces: add as Variable, not Secret)
# -----------------------------------------------------------------------------

# Pin a specific n8n version for reproducibility
N8N_VERSION=latest