AssetManager.API/.env.example

24 lines
833 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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