mirror of
https://github.com/open-webui/open-webui
synced 2024-11-22 08:07:55 +00:00
fix scripts to point to correct path
This commit is contained in:
parent
b1957e5cfe
commit
998616c0fd
6
.github/workflows/integration-test.yml
vendored
6
.github/workflows/integration-test.yml
vendored
@ -157,7 +157,7 @@ jobs:
|
|||||||
GLOBAL_LOG_LEVEL: debug
|
GLOBAL_LOG_LEVEL: debug
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
uvicorn main:app --port "8080" --forwarded-allow-ips '*' &
|
uvicorn open_webui.main:app --port "8080" --forwarded-allow-ips '*' &
|
||||||
UVICORN_PID=$!
|
UVICORN_PID=$!
|
||||||
# Wait up to 40 seconds for the server to start
|
# Wait up to 40 seconds for the server to start
|
||||||
for i in {1..40}; do
|
for i in {1..40}; do
|
||||||
@ -184,7 +184,7 @@ jobs:
|
|||||||
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
|
DATABASE_URL: postgresql://postgres:postgres@localhost:5432/postgres
|
||||||
run: |
|
run: |
|
||||||
cd backend
|
cd backend
|
||||||
uvicorn main:app --port "8081" --forwarded-allow-ips '*' &
|
uvicorn open_webui.main:app --port "8081" --forwarded-allow-ips '*' &
|
||||||
UVICORN_PID=$!
|
UVICORN_PID=$!
|
||||||
# Wait up to 20 seconds for the server to start
|
# Wait up to 20 seconds for the server to start
|
||||||
for i in {1..20}; do
|
for i in {1..20}; do
|
||||||
@ -230,7 +230,7 @@ jobs:
|
|||||||
# DATABASE_URL: mysql://root:mysql@localhost:3306/mysql
|
# DATABASE_URL: mysql://root:mysql@localhost:3306/mysql
|
||||||
# run: |
|
# run: |
|
||||||
# cd backend
|
# cd backend
|
||||||
# uvicorn main:app --port "8083" --forwarded-allow-ips '*' &
|
# uvicorn open_webui.main:app --port "8083" --forwarded-allow-ips '*' &
|
||||||
# UVICORN_PID=$!
|
# UVICORN_PID=$!
|
||||||
# # Wait up to 20 seconds for the server to start
|
# # Wait up to 20 seconds for the server to start
|
||||||
# for i in {1..20}; do
|
# for i in {1..20}; do
|
||||||
|
@ -30,4 +30,4 @@ IF "%WEBUI_SECRET_KEY%%WEBUI_JWT_SECRET_KEY%" == " " (
|
|||||||
|
|
||||||
:: Execute uvicorn
|
:: Execute uvicorn
|
||||||
SET "WEBUI_SECRET_KEY=%WEBUI_SECRET_KEY%"
|
SET "WEBUI_SECRET_KEY=%WEBUI_SECRET_KEY%"
|
||||||
uvicorn main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips '*'
|
uvicorn open_webui.main:app --host "%HOST%" --port "%PORT%" --forwarded-allow-ips '*'
|
||||||
|
Loading…
Reference in New Issue
Block a user