nsarrazin HF Staff commited on
Commit
bd7c021
·
unverified ·
1 Parent(s): f5f8848

Revert "Remove `BODY_SIZE_LIMIT`"

Browse files

This reverts commit e57840f8cbbe02770f44cb535472c2a8d6cdd3e8.

.github/workflows/deploy-prod.yml CHANGED
@@ -51,6 +51,8 @@ jobs:
51
  INCLUDE_DB=false
52
  APP_BASE=/chat
53
  PUBLIC_APP_COLOR=yellow
 
 
54
  deploy:
55
  name: Deploy on prod
56
  runs-on: ubuntu-latest
 
51
  INCLUDE_DB=false
52
  APP_BASE=/chat
53
  PUBLIC_APP_COLOR=yellow
54
+ BODY_SIZE_LIMIT=12582912
55
+
56
  deploy:
57
  name: Deploy on prod
58
  runs-on: ubuntu-latest
Dockerfile CHANGED
@@ -55,6 +55,7 @@ ENV INCLUDE_DB=${INCLUDE_DB}
55
  ARG APP_BASE=
56
  # tailwind requires the primary theme to be known at build time so it must be passed as a build arg
57
  ARG PUBLIC_APP_COLOR=blue
 
58
 
59
  # install dotenv-cli
60
  RUN npm install -g dotenv-cli
 
55
  ARG APP_BASE=
56
  # tailwind requires the primary theme to be known at build time so it must be passed as a build arg
57
  ARG PUBLIC_APP_COLOR=blue
58
+ ARG BODY_SIZE_LIMIT=12582912
59
 
60
  # install dotenv-cli
61
  RUN npm install -g dotenv-cli
chart/env/prod.yaml CHANGED
@@ -30,6 +30,7 @@ envVars:
30
  ADDRESS_HEADER: 'X-Forwarded-For'
31
  ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
32
  APP_BASE: "/chat"
 
33
  ENABLE_ASSISTANTS: "true"
34
  ENABLE_ASSISTANTS_RAG: "true"
35
  EXPOSE_API: "true"
 
30
  ADDRESS_HEADER: 'X-Forwarded-For'
31
  ALTERNATIVE_REDIRECT_URLS: '["huggingchat://login/callback"]'
32
  APP_BASE: "/chat"
33
+ BODY_SIZE_LIMIT: 12582912
34
  ENABLE_ASSISTANTS: "true"
35
  ENABLE_ASSISTANTS_RAG: "true"
36
  EXPOSE_API: "true"