aimodels-prices/.env.example

18 lines
605 B
Plaintext
Raw Permalink 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.

# MySQL数据库配置
DB_HOST=localhost # 数据库主机地址
DB_PORT=3306 # 数据库端口
DB_USER=root # 数据库用户名
DB_PASSWORD=your_password # 数据库密码
DB_NAME=aimodels # 数据库名称
# 服务器配置
PORT=8080 # 服务器监听端口
# OAuth配置如果需要
OAUTH_CLIENT_ID=your_client_id
OAUTH_CLIENT_SECRET=your_client_secret
OAUTH_REDIRECT_URI=http://localhost:8080/api/auth/callback
OAUTH_AUTHORIZE_URL=https://example.com/oauth/authorize
# 其他配置
GIN_MODE=debug # Gin运行模式debug或release