11# ====================================
22# Environment Variables Configuration
33# ====================================
4- # Copy this file to .env and fill in your actual SECRET values
4+ # For production: Copy this file to /run/secrets/.env and fill in your actual SECRET values
5+ # For development: Copy this file to .env and set ENV_FILE=.env
6+ #
7+ # The default env file location is /run/secrets/.env
8+ # Override with: export ENV_FILE=.env (for development)
9+ #
510# DO NOT commit the .env file to version control
11+ #
12+ # Settings use nested delimiter '__' to map to nested model fields.
13+ # Example: DATABASE__URL maps to settings.database.url
614# ====================================
715
816# Environment (development, production)
@@ -12,59 +20,59 @@ ENV=development
1220# Database Configuration
1321# ====================================
1422# PostgreSQL connection URL
15- DATABASE_URL = postgresql://user:password@localhost:5432/partnerup
23+ DATABASE__URL = postgresql://user:password@localhost:5432/partnerup
1624
1725# ====================================
1826# Redis Configuration
1927# ====================================
20- REDIS_HOST = localhost
21- REDIS_PORT = 6379
22- REDIS_PASSWORD = your-redis-password
23- REDIS_DB = 0
28+ REDIS__HOST = localhost
29+ REDIS__PORT = 6379
30+ REDIS__PASSWORD = your-redis-password
31+ REDIS__DB = 0
2432
2533# ====================================
2634# Auth / JWT Configuration
2735# ====================================
28- JWT_SECRET_KEY = your-jwt-secret-key-here
29- JWT_ALGORITHMS = ["HS256"]
30- JWT_ALLOWED_AUDIENCES = authenticated,anon,service_role
36+ AUTH__JWT_SECRET_KEY = your-jwt-secret-key-here
37+ AUTH__JWT_ALGORITHMS = ["HS256"]
38+ AUTH__JWT_ALLOWED_AUDIENCES = authenticated,anon,service_role
3139
3240# ====================================
3341# HTTP Server Configuration
3442# ====================================
35- HTTP_HOST = 0.0.0.0
36- HTTP_PORT = 8000
37- HTTP_REAL_HOST = localhost
43+ HTTP__HOST = 0.0.0.0
44+ HTTP__PORT = 8000
45+ HTTP__REAL_HOST = localhost
3846
3947# ====================================
4048# Supabase Configuration
4149# ====================================
42- SUPABASE_URL = https://your-project.supabase.co
43- SUPABASE_SERV_KEY = your-service-key-here
44- SUPABASE_ANON_KEY = your-anon-key-here
50+ SUPABASE__URL = https://your-project.supabase.co
51+ SUPABASE__SERV_KEY = your-service-key-here
52+ SUPABASE__ANON_KEY = your-anon-key-here
4553
4654# ====================================
4755# WeChat Configuration
4856# ====================================
4957# WeChat Mini Program
50- WEIXIN_PARTNER_UP_WXMP_APPID = wx7674f72ff1eb49e6
51- WEIXIN_PARTNER_UP_WXMP_SECRET = your-wxmp-secret-here
58+ WEIXIN__PARTNER_UP_WXMP_APPID = wx7674f72ff1eb49e6
59+ WEIXIN__PARTNER_UP_WXMP_SECRET = your-wxmp-secret-here
5260
5361# WeChat Service Account
54- WEIXIN_PARTNER_UP_WXSA_APPID = your-wxsa-appid-here
55- WEIXIN_PARTNER_UP_WXSA_SECRET = your-wxsa-secret-here
62+ WEIXIN__PARTNER_UP_WXSA_APPID = your-wxsa-appid-here
63+ WEIXIN__PARTNER_UP_WXSA_SECRET = your-wxsa-secret-here
5664
5765# ====================================
5866# WeChat Pay Configuration
5967# ====================================
60- WECHAT_PAY_MCHID = your-merchant-id
61- WECHAT_PAY_PRI_KEY_PATH = data/keys/wechat_pay_private_key.pem
62- WECHAT_PAY_SERIAL_NO = your-serial-number
63- WECHAT_PAY_API_V3_KEY = your-api-v3-key-here
64- WECHAT_PAY_SIGN_TYPE = RSA
65- WECHAT_PAY_CERT_DIR = data/keys/wechat_pay_certs
68+ WECHAT_PAY__MCHID = your-merchant-id
69+ WECHAT_PAY__PRI_KEY_PATH = data/keys/wechat_pay_private_key.pem
70+ WECHAT_PAY__SERIAL_NO = your-serial-number
71+ WECHAT_PAY__API_V3_KEY = your-api-v3-key-here
72+ WECHAT_PAY__SIGN_TYPE = RSA
73+ WECHAT_PAY__CERT_DIR = data/keys/wechat_pay_certs
6674
6775# ====================================
6876# LBS Configuration
6977# ====================================
70- LBS_APIKEY = your-lbs-api-key-here
78+ LBS__APIKEY = your-lbs-api-key-here
0 commit comments