-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
120 lines (99 loc) · 2.74 KB
/
.env.example
File metadata and controls
120 lines (99 loc) · 2.74 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
108
109
110
111
112
113
114
115
116
117
118
119
120
# Network binding (0.0.0.0 = all interfaces, 127.0.0.1 = localhost only)
# BIND_IP=0.0.0.0
# Database
DATABASE_URL=postgres://evtivity:evtivity@localhost:5433/evtivity
SEED_DEMO=false
# Redis
REDIS_URL=redis://localhost:6379
# Ports
CSMS_PORT=7100
PORTAL_PORT=7101
# API Server
API_PORT=7102
API_HOST=0.0.0.0
JWT_SECRET=dev-jwt-secret-change-in-production!!
CORS_ORIGIN=local
SETTINGS_ENCRYPTION_KEY=dev-encryption-key-32chars-long!
# API_BASE_URL=http://localhost:7102
# OCPP Server
OCPP_PORT=7103
OCPP_HOST=0.0.0.0
OCPP_MAX_CONNECTIONS_PER_IP=2500
OCPP_MAX_MESSAGES_PER_IP_PER_SECOND=5000
# OCPP_HEALTH_PORT=8081
# OCPP TLS (Security Profile 2/3)
# OCPP_TLS_CERT=/path/to/cert.pem
# OCPP_TLS_KEY=/path/to/key.pem
# OCPP_TLS_CA=/path/to/ca.pem
# OCPP_TLS_PORT=8443
# OCPI Server
OCPI_PORT=7104
OCPI_HOST=0.0.0.0
OCPI_BASE_URL=http://localhost:7104
OCPI_COUNTRY_CODE=US
OCPI_PARTY_ID=EVT
OCPI_BUSINESS_NAME=EVtivity
# OCPI Simulator (eMSP)
OCPI_SIM_PORT=7105
OCPI_SIM_HOST=0.0.0.0
OCPI_SIM_BASE_URL=http://localhost:7105
OCPI_SIM_ROLE=emsp
OCPI_SIM_COUNTRY_CODE=NL
OCPI_SIM_PARTY_ID=SIM
OCPI_SIM_NAME=OCPI Simulator
# Set these to auto-register on startup (token must match a seeded or API-created partner)
OCPI_TARGET_URL=http://localhost:7104
OCPI_REGISTRATION_TOKEN=ocpi-sim-reg-token
# Optional: restrict inbound registration to a specific token
# OCPI_SIM_INCOMING_REG_TOKEN=
# CSS (Charging Station Simulator)
CSS_MODE=standby
CSS_HEALTH_PORT=8082
CSS_ACTION_INTERVAL_MS=1000
CSS_STATION_LIMIT=0
CSS_API_TOKEN=
OCPP_SERVER_URL=ws://localhost:7103
# OCPP_TLS_SERVER_URL=wss://localhost:8443
# Stripe (payments)
# STRIPE_SECRET_KEY=sk_test_...
# STRIPE_PUBLISHABLE_KEY=pk_test_...
# STRIPE_WEBHOOK_SECRET=whsec_...
# S3 (file storage for support case attachments)
# S3_BUCKET=
# S3_REGION=
# S3_ACCESS_KEY_ID=
# S3_SECRET_ACCESS_KEY=
# S3_ENDPOINT=
# SMTP (email notifications - env var overrides DB setting)
# SMTP_HOST=localhost
# SMTP_PORT=587
# SMTP_USERNAME=
# SMTP_PASSWORD=
# SMTP_FROM=noreply@example.com
# Twilio (SMS notifications)
# TWILIO_ACCOUNT_SID=
# TWILIO_AUTH_TOKEN=
# TWILIO_FROM_NUMBER=
# Google reCAPTCHA v3 (bot protection on login)
# RECAPTCHA_SITE_KEY=
# RECAPTCHA_SECRET_KEY=
# Google Maps (station map display)
# GOOGLE_MAPS_API_KEY=
# PnC / Hubject (Plug and Charge certificate management)
# PNC_HUBJECT_BASE_URL=
# PNC_HUBJECT_TOKEN_URL=
# PNC_HUBJECT_CLIENT_ID=
# PNC_HUBJECT_CLIENT_SECRET=
# Metrics (Prometheus)
# METRICS_PORT=9091
# Rate Limiting
# RATE_LIMIT_MAX=3000
# RATE_LIMIT_WINDOW=1 minute
# AUTH_RATE_LIMIT_MAX=30
# AUTH_RATE_LIMIT_WINDOW=1 minute
# Logging
LOG_LEVEL=info
NODE_ENV=development
# Dev auto-login (skips login page, set to user email)
VITE_CSMS_AUTO_LOGIN=admin@evtivity.local
VITE_PORTAL_AUTO_LOGIN=driver@evtivity.local