-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
69 lines (60 loc) · 1.94 KB
/
.env.example
File metadata and controls
69 lines (60 loc) · 1.94 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
# Smart Park 环境变量配置模板
# 复制此文件为 .env 并根据实际情况修改
# ============================================
# 数据库配置
# ============================================
DB_HOST=localhost
DB_PORT=5432
DB_USER=postgres
DB_PASSWORD=your_secure_password_here
DB_NAME=parking
DB_SSL_MODE=disable
# ============================================
# Redis 配置
# ============================================
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
REDIS_DB=0
# ============================================
# Etcd 配置
# ============================================
ETCD_ENDPOINTS=localhost:2379
ETCD_USERNAME=
ETCD_PASSWORD=
# ============================================
# JWT 配置
# ============================================
JWT_SECRET=your-jwt-secret-key-here
JWT_EXPIRES_IN=24h
# ============================================
# 微信支付配置
# ============================================
WECHAT_APP_ID=wx_app_id
WECHAT_MCH_ID=mch_id
WECHAT_API_V3_KEY=api_v3_key
WECHAT_PRIVATE_KEY_PATH=/secrets/wechat_private_key.pem
WECHAT_SERIAL_NO=certificate_serial_no
WECHAT_NOTIFY_URL=https://api.example.com/api/v1/pay/callback/wechat
# ============================================
# 支付宝配置
# ============================================
ALIPAY_APP_ID=alipay_app_id
ALIPAY_PRIVATE_KEY_PATH=/secrets/alipay_private_key.pem
ALIPAY_PUBLIC_KEY_PATH=/secrets/alipay_public_key.pem
ALIPAY_NOTIFY_URL=https://api.example.com/api/v1/pay/callback/alipay
# ============================================
# 日志配置
# ============================================
LOG_LEVEL=info
LOG_FORMAT=json
# ============================================
# 链路追踪配置
# ============================================
JAEGER_ENDPOINT=http://localhost:14268/api/traces
TRACE_SAMPLE_RATE=1.0
# ============================================
# 应用配置
# ============================================
APP_ENV=development
APP_VERSION=1.0.0