Commit 307b3f09 authored by Kantz's avatar Kantz
Browse files

überschreiben der liste an sokratischen themen verhindert

parent 8c565342
......@@ -13,7 +13,7 @@ services:
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health/ready')",
"import urllib.request; urllib.request.urlopen('http://backend-openai:8000/api/health/ready')",
]
interval: 5s
timeout: 3s
......@@ -32,7 +32,8 @@ services:
args:
VITE_API_BASE_URL: http://backend-openai:8000
depends_on:
- backend-openai
backend-openai:
condition: service_healthy
restart: unless-stopped
networks:
- web
......
......@@ -7,6 +7,15 @@ server {
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://backend-openai:8000;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
try_files $uri $uri/ /index.html;
}
......
......@@ -302,13 +302,6 @@ export function TutorSessionProvider({ children }: PropsWithChildren) {
void initTasks();
}, [initTasks]);
useEffect(() => {
if (!isTasksInitialized) {
return;
}
void loadSelectionData(selectedOrchestrator);
}, [isTasksInitialized, loadSelectionData, selectedOrchestrator]);
const setTaskFile = useCallback(
(fileId: string) => {
if (!fileId) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment