finsih
This commit is contained in:
@@ -8,16 +8,16 @@ services:
|
|||||||
- "8800:8800"
|
- "8800:8800"
|
||||||
restart: always
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
# - DB_HOST=6.6.6.6
|
- DB_HOST=localhost
|
||||||
# - DB_PORT=5432
|
- 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_USER=gsdh
|
||||||
- DB_PASSWORD=123gsdh
|
- DB_PASSWORD=123gsdh
|
||||||
- DB_NAME=gsdh
|
- DB_NAME=gsdh
|
||||||
|
|
||||||
|
# - DB_HOST=121.43.104.161
|
||||||
|
# - DB_PORT=6432
|
||||||
|
# - DB_USER=gsdh
|
||||||
|
# - DB_PASSWORD=123gsdh
|
||||||
|
# - DB_NAME=gsdh
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
SERVER_HOST="121.43.104.161" # 服务器IP地址
|
SERVER_HOST="121.43.104.161" # 服务器IP地址
|
||||||
SERVER_USER="ubuntu" # 服务器用户名
|
SERVER_USER="ubuntu" # 服务器用户名
|
||||||
SERVER_PASSWORD="qweasdzxc1" # 服务器密码
|
SERVER_PASSWORD="qweasdzxc1" # 服务器密码
|
||||||
SERVER_PORT="8800"
|
SERVER_PORT="6222"
|
||||||
|
|
||||||
# 配置局域网变量 - 公司局域网上传方法
|
# 配置局域网变量 - 公司局域网上传方法
|
||||||
# SERVER_HOST="6.6.6.86" # 服务器IP地址
|
# 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__":
|
if __name__ == "__main__":
|
||||||
import uvicorn
|
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
|
pydantic
|
||||||
jinja2
|
jinja2
|
||||||
python-multipart
|
python-multipart
|
||||||
|
python-dotenv
|
||||||
|
|||||||
Reference in New Issue
Block a user