forked from AetherEdu/AetherMint
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (56 loc) · 2.22 KB
/
Copy path.env.example
File metadata and controls
68 lines (56 loc) · 2.22 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
65
66
67
68
# AetherMint Environment Configuration
# Application
NODE_ENV=development
PORT=3001
# Stellar Configuration
STELLAR_NETWORK=testnet
STELLAR_SECRET_KEY=your_stellar_secret_key_here
STELLAR_HORIZON_URL=https://horizon-testnet.stellar.org
STELLAR_RPC_URL=https://soroban-testnet.stellar.org
CONTRACT_ADDRESS=your_deployed_contract_address_here
# Analytics Contract Configuration
ANALYTICS_CONTRACT_ID=your_analytics_contract_id_here
ADMIN_PRIVATE_KEY=your_admin_secret_key_here
# Database Configuration
DATABASE_URL=postgresql://username:password@localhost:5432/aethermint_education
REDIS_URL=redis://localhost:6379
# Database Backup Configuration (used by scripts/backup-db.sh & db-backup workflow)
# Target bucket and optional key prefix for uploaded backups.
BACKUP_S3_BUCKET=your_backup_bucket_name
BACKUP_S3_PREFIX=aethermint/db
# Optional: custom endpoint for S3-compatible stores (MinIO, Cloudflare R2, etc.)
# BACKUP_S3_ENDPOINT=https://s3.example.com
# AWS credentials for the backup target (least-privilege key recommended).
AWS_ACCESS_KEY_ID=your_aws_access_key_id
AWS_SECRET_ACCESS_KEY=your_aws_secret_access_key
AWS_REGION=us-east-1
# Retention policy (number of backups to keep per tier).
RETAIN_DAILY=7
RETAIN_WEEKLY=4
RETAIN_MONTHLY=6
# Optional: failure alert webhooks.
# SLACK_WEBHOOK_URL=https://hooks.slack.com/services/xxx/yyy/zzz
# ALERT_EMAIL_WEBHOOK=https://your-email-webhook.example.com/send
# JWT Configuration
JWT_SECRET=your_super_secret_jwt_key_here
JWT_EXPIRES_IN=24h
# IPFS Configuration
IPFS_GATEWAY_URL=https://ipfs.io/ipfs/
IPFS_API_URL=https://api.ipfs.io/api/v0
# Frontend Configuration
NEXT_PUBLIC_API_URL=http://localhost:3001
NEXT_PUBLIC_STELLAR_NETWORK=testnet
NEXT_PUBLIC_CONTRACT_ADDRESS=your_deployed_contract_address_here
# Development
LOG_LEVEL=debug
ENABLE_CORS=true
# Production (uncomment for production)
# NODE_ENV=production
# STELLAR_NETWORK=mainnet
# STELLAR_HORIZON_URL=https://horizon.stellar.org
# LOG_LEVEL=info
# Post-deploy Smoke Test (used by scripts/staging-deploy.sh & deploy-staging workflow via npm run test:smoke)
# Base URL the smoke test checks. Falls back to BASE_URL, then http://localhost:3001
SMOKE_BASE_URL=http://localhost:3001
# Per-request timeout in milliseconds
SMOKE_TIMEOUT_MS=5000