-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (28 loc) · 869 Bytes
/
.env.example
File metadata and controls
36 lines (28 loc) · 869 Bytes
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
# SilkWeb API Configuration
# Copy this to .env and fill in your values.
# NEVER commit the .env file to version control.
# Database (required)
DATABASE_URL=postgresql+asyncpg://silkweb:silkweb_dev@localhost:5432/silkweb
# Redis (required)
REDIS_URL=redis://localhost:6379/0
# Security (CHANGE THESE IN PRODUCTION)
JWT_SECRET=CHANGE-ME-generate-a-64-char-random-string-here
JWT_EXPIRY_MINUTES=60
# CORS
CORS_ORIGINS=["https://silkweb.io"]
# Environment
ENVIRONMENT=development
LOG_LEVEL=INFO
DEBUG=false
# Rate Limits (per API key, per hour)
RATE_LIMIT_DISCOVERY=100
RATE_LIMIT_TASKS=50
RATE_LIMIT_REGISTRATION=10
# Request Limits
MAX_REQUEST_SIZE_BYTES=1048576
# Email — Receipt Notifications (Hostinger SMTP)
SMTP_HOST=smtp.hostinger.com
SMTP_PORT=465
SMTP_USER=information@silkweb.io
SMTP_PASSWORD=your-email-password-here
SMTP_FROM=information@silkweb.io