-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy path.env.local.example
More file actions
57 lines (51 loc) · 1.46 KB
/
.env.local.example
File metadata and controls
57 lines (51 loc) · 1.46 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
# Minimal local development config
#
# QUICK START:
# 1. cp .env.local.example .env
# 2. docker compose up -d
# 3. npm run setup
#
# That's it! The setup script will:
# - Generate all 19 wallet seeds/keys
# - Start the API in the background
# - Wait for database tables and seed data
# - Register an admin user
# - Seed deposit addresses
#
# API Management:
# - View logs: tail -f api.log
# - Stop API: kill $(cat .api.pid)
# - Restart: npm run start:local
#
# With ENVIRONMENT=loc, external services are automatically mocked:
# - HTTP calls to external APIs return mock responses
# - Azure Storage uses in-memory storage
# - No API keys required for basic development
# Core
PORT=3000
ENVIRONMENT=loc
NETWORK=testnet
DISABLED_PROCESSES=*
REQUEST_LIMIT_CHECK=false
FAUCET_ENABLED=false
# Database (matches docker-compose.yml)
SQL_HOST=localhost
SQL_PORT=1433
SQL_USERNAME=sa
SQL_PASSWORD=LocalDev2026@SQL
SQL_DB=dfx
SQL_SYNCHRONIZE=true
SQL_MIGRATE=false
SQL_ENCRYPT=false
# Auth
JWT_SECRET=local-dev-secret-change-in-production
JWT_EXPIRES_IN=14d
# Frontend URLs (for mail login redirect)
SERVICES_URL=http://localhost:3000
# Blockchain Gateway URLs (seeds are generated by 'npm run setup')
SOLANA_GATEWAY_URL=https://api.mainnet-beta.solana.com
TRON_GATEWAY_URL=https://api.trongrid.io
CARDANO_GATEWAY_URL=https://cardano-mainnet.blockfrost.io/api/v0
# Mail service (dummy values for local development)
MAIL_USER=noreply@localhost
MAIL_PASS=dummy-password-for-local-dev