tset: test
This commit is contained in:
parent
93b6d4d38c
commit
ce094b7305
@ -9,6 +9,10 @@ pr
|
||||
|
||||
docker run --rm -it -p 8000:8000 -p 8001:8001 -p 8002:8002 -v ~/tpre:/app -e HOST_IP=110.41.130.197 git.mamahaha.work/sangge/tpre:base bash
|
||||
|
||||
|
||||
tpre3: docker run --rm -it -p 8000:8000 -p 8001:8001 -p 8002:8002 -v ~/mimajingsai:/app -e HOST_IP=110.41.21.35 git.mamahaha.work/sangge/tpre:base bash
|
||||
|
||||
|
||||
110.41.155.96 tpre1
|
||||
110.41.130.197 tpre2
|
||||
110.41.21.35 tpre3
|
@ -16,7 +16,7 @@ async def lifespan(app: FastAPI):
|
||||
|
||||
|
||||
app = FastAPI(lifespan=lifespan)
|
||||
server_address = "http://10.20.14.232:8000/server"
|
||||
server_address = "http://110.41.155.96:8000/server"
|
||||
id = 0
|
||||
ip = ""
|
||||
client_ip_src = "" # 发送信息用户的ip
|
||||
@ -108,4 +108,4 @@ async def send_user_des_message(source_ip: str, dest_ip: str, re_message): #
|
||||
if __name__ == "__main__":
|
||||
import uvicorn # pylint: disable=e0401
|
||||
|
||||
uvicorn.run("node:app", host="0.0.0.0", port=8001, reload=True)
|
||||
uvicorn.run("node:app", host="0.0.0.0", port=8001, reload=False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user