-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
64 lines (53 loc) · 2.71 KB
/
.env.example
File metadata and controls
64 lines (53 loc) · 2.71 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# SyftHub Environment Configuration
# Copy this file to .env and fill in your values
# =============================================================================
# DOMAIN CONFIGURATION
# =============================================================================
# Your domain name (used for CORS and SSL)
DOMAIN=syfthub.example.com
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# PostgreSQL password (REQUIRED in production)
DB_PASSWORD=your-secure-database-password
# Full database URL (optional, constructed from DB_PASSWORD if not set)
# DATABASE_URL=postgresql://syfthub:${DB_PASSWORD}@db:5432/syfthub
# =============================================================================
# SECURITY CONFIGURATION
# =============================================================================
# JWT Secret Key (REQUIRED in production - use a long random string)
# Generate with: openssl rand -hex 32
SECRET_KEY=your-secret-key-change-in-production
# Token expiration settings
ACCESS_TOKEN_EXPIRE_MINUTES=30
REFRESH_TOKEN_EXPIRE_DAYS=7
# =============================================================================
# REDIS CONFIGURATION
# =============================================================================
# Redis password (REQUIRED in production)
REDIS_PASSWORD=your-redis-password
# =============================================================================
# LOGGING
# =============================================================================
# Log level: debug, info, warning, error
LOG_LEVEL=info
# =============================================================================
# MONITORING (Optional - used with 'monitoring' profile)
# =============================================================================
GRAFANA_ADMIN_USER=admin
GRAFANA_ADMIN_PASSWORD=your-grafana-password
# =============================================================================
# MPP / TEMPO CONFIGURATION (Micropayment Protocol)
# =============================================================================
# Use Tempo testnet (moderato) instead of mainnet (default: true for dev)
TEMPO_TESTNET=true
# Secret key for MPP payment signing (REQUIRED for MPP functionality)
# Generate with: openssl rand -hex 32
MPP_SECRET_KEY=
# =============================================================================
# FRONTEND CONFIGURATION
# =============================================================================
# API URL for frontend (leave empty for same-origin via proxy)
# In development with docker-compose.dev.yml, this should be empty
# Only set if running frontend standalone without proxy
VITE_API_URL=