24 lines
833 B
Plaintext
24 lines
833 B
Plaintext
# AssetManager 环境变量配置示例
|
||
# 复制此文件为 .env,修改配置后使用 docker-compose --env-file .env up -d 启动
|
||
|
||
# 运行环境(Production/Development)
|
||
ASPNETCORE_ENVIRONMENT=Production
|
||
|
||
# MySQL 数据库连接字符串
|
||
ConnectionStrings__Default=server=你的MySQL地址;Database=assetmanager;Uid=你的数据库用户名;Pwd=你的数据库密码;CharSet=utf8mb4;Allow User Variables=true;
|
||
|
||
# JWT 配置
|
||
Jwt__SecretKey=你的自定义JWT签名密钥,至少32位字符
|
||
Jwt__Issuer=AssetManager
|
||
Jwt__Audience=AssetManager
|
||
|
||
# 微信小程序配置
|
||
Wechat__AppId=你的微信小程序AppId
|
||
Wechat__AppSecret=你的微信小程序AppSecret
|
||
|
||
# Tiingo 股票数据 API Key(申请地址:https://www.tiingo.com/)
|
||
Tiingo__ApiKey=你的Tiingo API Key
|
||
|
||
# 时区(保持上海时区即可)
|
||
TZ=Asia/Shanghai
|