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:
4
start.sh
4
start.sh
@@ -20,7 +20,7 @@ if [ "$DEBUG_MODE" = "true" ]; then
|
||||
echo "Swagger UI: http://0.0.0.0:$LOGBOARD_PORT/docs"
|
||||
echo "ReDoc: http://0.0.0.0:$LOGBOARD_PORT/redoc"
|
||||
|
||||
exec uvicorn app.app:app \
|
||||
exec uvicorn app:app \
|
||||
--host 0.0.0.0 \
|
||||
--port $LOGBOARD_PORT \
|
||||
--reload \
|
||||
@@ -28,7 +28,7 @@ if [ "$DEBUG_MODE" = "true" ]; then
|
||||
else
|
||||
echo "Starting in PRODUCTION mode..."
|
||||
|
||||
exec uvicorn app.app:app \
|
||||
exec uvicorn app:app \
|
||||
--host 0.0.0.0 \
|
||||
--port $LOGBOARD_PORT \
|
||||
--log-level info
|
||||
|
||||
Reference in New Issue
Block a user