feat: allow reverse proxies
This commit is contained in:
1 parent
b6b1d2a2ea
commit
306e21fe44
23 files changed
+153
-64
No files matched your search
@@ -17,7 +17,7 @@ services:
|
||||
- ./migrations:/app/migrations
|
||||
- ./alembic.ini:/app/alembic.ini:ro
|
||||
- ${DATA_DIR:-./data}:/app/data
|
||||
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "app", "--reload-dir", "migrations"]
|
||||
command: ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload", "--reload-dir", "app", "--reload-dir", "migrations", "--proxy-headers", "--forwarded-allow-ips", "*"]
|
||||
|
||||
checks:
|
||||
build:
|
||||
|
||||
Reference in new issue
Block a user