removed proxymiddleware and moved to uvicorn startup command

This commit is contained in:
Christian Krakau-Louis
2025-03-25 12:44:41 +01:00
parent b9be5af407
commit 8aa667fd48
2 changed files with 1 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ services:
working_dir: /workdir
# We'll run uvicorn from the container's /app code
command: ["sh", "-c", "cd /app && uvicorn app.main:app --host 0.0.0.0 --port 8000"]
command: ["sh", "-c", "cd /app && uvicorn app.main:app --host 0.0.0.0 --port 8000 --proxy-headers"]
# Environment variables
environment: