fix: forward RATE_LIMIT_RPM and MAX_FILE_SIZE_MB to backend container
These env vars were set in the CI workflow step but never passed through docker-compose to the container, so the backend always used defaults (100 RPM), causing 429 errors in E2E tests.
This commit is contained in:
parent
06bfe9b2ba
commit
145d4bc180
1 changed files with 2 additions and 0 deletions
|
|
@ -12,6 +12,8 @@ services:
|
|||
CORS_ORIGINS: ${CORS_ORIGINS:-http://localhost:3000,http://localhost:5173}
|
||||
DOCLING_SERVE_URL: ${DOCLING_SERVE_URL:-}
|
||||
DOCLING_SERVE_API_KEY: ${DOCLING_SERVE_API_KEY:-}
|
||||
RATE_LIMIT_RPM: ${RATE_LIMIT_RPM:-100}
|
||||
MAX_FILE_SIZE_MB: ${MAX_FILE_SIZE_MB:-50}
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
|
|
|
|||
Loading…
Reference in a new issue