1 Star 0 Fork 7

GBH/fastapi-mysql-example-app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.env.production 637 Bytes
一键复制 编辑 原始数据 按行查看 历史
fuyi501 提交于 2021-10-20 10:52 +08:00 . first commit
PROJECT_NAME=fastapi-mysql-example-app
BACKEND_CORS_ORIGINS=[
"http://172.23.177.78:17000",
"https://172.23.177.78:17000",
"http://172.23.177.78",
"https://172.23.177.78"
]
# API接口前缀
API_PREFIX="/api"
# 版本号
VERSION="0.0.1"
# mysql
SECRET_KEY=secret
DEBUG=True
# 云服务器的内网地址,通过内网IP访问数据库
DB_CONNECTION=mysql://root:123456@172.23.177.78/traffic
HOST=172.23.177.78
PORT=3308
USERNAME=root
PASSWORD=123456
DATABASE=traffic
# 图片访问和保存地址
# 外网访问地址
ImagesUrl=http://39.99.145.119:17000/api
# 图片保存地址
ROOT_FILE_PATH=/home/fastapi/static/images
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gubinhua/fastapi-mysql-example-app.git
git@gitee.com:gubinhua/fastapi-mysql-example-app.git
gubinhua
fastapi-mysql-example-app
fastapi-mysql-example-app
master

搜索帮助