Skip to content

Commit 911e2ee

Browse files
committed
publish
1 parent 8369ec0 commit 911e2ee

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ def start_proxy():
2626
if arg.startswith("comfyui_server=") and len(arg.split("=")) > 1:
2727
os.environ["COMFYUI_SERVER"] = arg.split("=")[1]
2828
break
29-
threading.Thread(target=start_proxy).start()
29+
# threading.Thread(target=start_proxy).start()
3030
uvicorn.run("app:app", host="0.0.0.0", port=8081, reload=True)

dock_build.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ REM 获取所有运行中容器的ID并逐个停止
77
FOR /f "tokens=*" %%i IN ('docker ps -q') DO docker stop %%i
88
docker container prune -f
99

10-
docker run -d --name %name% -p 8002:8001 -v %~dp0:/work %name%
10+
docker run -d --name %name% -p 8002:8081 -e COMFYUI_SERVER=http://10.10.10.54:6700 %name%
1111
docker exec -it %name% /bin/bash
1212

1313
if "%1"=="-p" (

start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/bash
22
cd /app/
3+
pwd
34
python3 app.py
45
# 执行一些操作...
56
while true; do

0 commit comments

Comments
 (0)