fix: resolve static files and import issues

- Fix static files not loading due to volume mount conflict
- Remove problematic volume mount from docker-compose.yml
- Add __init__.py files to make Python packages
- Fix all import statements to use relative imports
- Update start.sh to use correct module name
- Update config.py with correct default paths and values
- Ensure all environment variables are properly loaded from .env file
This commit is contained in:
Сергей Антропов
2025-08-20 18:14:35 +03:00
parent 9ecfb9f360
commit 9d4add2a7d
20 changed files with 76 additions and 31 deletions

View File

@@ -12,9 +12,9 @@ from typing import Optional
from fastapi import APIRouter, WebSocket, WebSocketDisconnect, Query, Depends
from fastapi.responses import JSONResponse
from app.core.auth import verify_token, get_current_user
from app.core.docker import docker_client, DEFAULT_TAIL
from app.core.logger import websocket_logger
from core.auth import verify_token, get_current_user
from core.docker import docker_client, DEFAULT_TAIL
from core.logger import websocket_logger
from datetime import datetime
router = APIRouter()