finsih
This commit is contained in:
@@ -8,16 +8,16 @@ services:
|
||||
- "8800:8800"
|
||||
restart: always
|
||||
environment:
|
||||
# - DB_HOST=6.6.6.6
|
||||
# - DB_PORT=5432
|
||||
# - DB_USER=gsdh
|
||||
# - DB_PASSWORD=123gsdh
|
||||
# - DB_NAME=gsdh
|
||||
|
||||
- DB_HOST=121.43.104.161
|
||||
- DB_PORT=6432
|
||||
- DB_HOST=localhost
|
||||
- DB_PORT=5432
|
||||
- DB_USER=gsdh
|
||||
- DB_PASSWORD=123gsdh
|
||||
- DB_NAME=gsdh
|
||||
|
||||
# - DB_HOST=121.43.104.161
|
||||
# - DB_PORT=6432
|
||||
# - DB_USER=gsdh
|
||||
# - DB_PASSWORD=123gsdh
|
||||
# - DB_NAME=gsdh
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
SERVER_HOST="121.43.104.161" # 服务器IP地址
|
||||
SERVER_USER="ubuntu" # 服务器用户名
|
||||
SERVER_PASSWORD="qweasdzxc1" # 服务器密码
|
||||
SERVER_PORT="8800"
|
||||
SERVER_PORT="6222"
|
||||
|
||||
# 配置局域网变量 - 公司局域网上传方法
|
||||
# SERVER_HOST="6.6.6.86" # 服务器IP地址
|
||||
|
||||
2
main.py
2
main.py
@@ -327,4 +327,4 @@ async def add_user_api(user_data: AddUserRequest):
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
uvicorn.run(app, host="0.0.0.0", port=8000)
|
||||
uvicorn.run(app, host="0.0.0.0", port=8800)
|
||||
|
||||
@@ -4,3 +4,4 @@ psycopg2-binary
|
||||
pydantic
|
||||
jinja2
|
||||
python-multipart
|
||||
python-dotenv
|
||||
|
||||
Reference in New Issue
Block a user