This commit is contained in:
jeremygan2021
2026-01-06 17:27:25 +08:00
parent 9ed51276a5
commit fecd0f322c
4 changed files with 11 additions and 10 deletions

View File

@@ -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

View File

@@ -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地址

View File

@@ -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)

View File

@@ -4,3 +4,4 @@ psycopg2-binary
pydantic
jinja2
python-multipart
python-dotenv