-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
107 lines (78 loc) · 3.43 KB
/
Copy path.env.example
File metadata and controls
107 lines (78 loc) · 3.43 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# =============================================================================
# ProofLink Environment Configuration
# =============================================================================
# Copy this file to .env and fill in the values.
# Variables marked [REQUIRED] must be set for the application to start.
# -----------------------------------------------------------------------------
# Required
# -----------------------------------------------------------------------------
# [REQUIRED] PostgreSQL connection string
DATABASE_URL=postgresql://prooflink:prooflink_dev@localhost:5432/prooflink
# [REQUIRED] Application port
PORT=3001
# [REQUIRED] Environment: development | staging | production
NODE_ENV=development
# -----------------------------------------------------------------------------
# Auth
# -----------------------------------------------------------------------------
# [REQUIRED] Secret key for signing API keys
API_KEY_SECRET=
# [REQUIRED] JWT signing secret
JWT_SECRET=
# JWT issuer claim
JWT_ISSUER=prooflink
# JWT audience claim
JWT_AUDIENCE=prooflink-api
# ProofLink self-auth API key
PROOFLINK_API_KEY=
# -----------------------------------------------------------------------------
# Redis
# -----------------------------------------------------------------------------
# [REQUIRED] Redis connection URL
REDIS_URL=redis://localhost:6379
# -----------------------------------------------------------------------------
# Compliance Providers
# -----------------------------------------------------------------------------
# Chainalysis API key (optional - free tier works without key)
CHAINALYSIS_API_KEY=
# -----------------------------------------------------------------------------
# Blockchain
# -----------------------------------------------------------------------------
# RPC endpoints
BASE_RPC_URL=https://mainnet.base.org
ETHEREUM_RPC_URL=https://eth.llamarpc.com
# Contract addresses (Base mainnet defaults)
EAS_CONTRACT_ADDRESS=0x4200000000000000000000000000000000000021
PROOFLINK_REGISTRY_ADDRESS=
# -----------------------------------------------------------------------------
# CORS
# -----------------------------------------------------------------------------
# Allowed CORS origins (comma-separated)
CORS_ORIGIN=http://localhost:3000,http://localhost:3100
# -----------------------------------------------------------------------------
# Rate Limiting
# -----------------------------------------------------------------------------
# Max requests per window
RATE_LIMIT_MAX=100
# Rate limit window in milliseconds (default: 15 minutes)
RATE_LIMIT_WINDOW_MS=900000
# -----------------------------------------------------------------------------
# Logging
# -----------------------------------------------------------------------------
# Log level: debug | info | warn | error
LOG_LEVEL=info
# -----------------------------------------------------------------------------
# Observability
# -----------------------------------------------------------------------------
# OpenTelemetry OTLP exporter endpoint
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
# -----------------------------------------------------------------------------
# Docker / Local Overrides
# -----------------------------------------------------------------------------
# Override default ports for Docker Compose
POSTGRES_PORT=5432
REDIS_PORT=6379
API_PORT=3001
DASHBOARD_PORT=3100
# PostgreSQL password (used by Docker Compose)
POSTGRES_PASSWORD=prooflink_dev