mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 09:09:36 +02:00
Git Bridge: support git-bridge configuration via env in nginx
- generate overleaf.conf dynamically - support GIT_BRIDGE_HOST and GIT_BRIDGE_PORT - configure client_max_body_size for /git using GIT_BRIDGE_REPOSTORE_MAX_FILE_SIZE
This commit is contained in:
@@ -47,7 +47,7 @@ ADD server-ce/config/env.sh /etc/overleaf/env.sh
|
||||
# Configure nginx
|
||||
# ---------------
|
||||
ADD server-ce/nginx/nginx.conf.template /etc/nginx/templates/nginx.conf.template
|
||||
ADD server-ce/nginx/overleaf.conf /etc/nginx/sites-enabled/overleaf.conf
|
||||
ADD server-ce/nginx/overleaf.conf.template /etc/nginx/templates/overleaf.conf.template
|
||||
ADD server-ce/nginx/clsi-nginx.conf /etc/nginx/sites-enabled/clsi-nginx.conf
|
||||
|
||||
|
||||
@@ -119,7 +119,9 @@ ENV GRACEFUL_SHUTDOWN_DELAY_SECONDS=1
|
||||
ENV NODE_ENV="production"
|
||||
ENV LOG_LEVEL="info"
|
||||
|
||||
|
||||
ENV GIT_BRIDGE_HOST=git-bridge
|
||||
ENV GIT_BRIDGE_PORT=8000
|
||||
ENV GIT_BRIDGE_REPOSTORE_MAX_FILE_SIZE=52428800
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/sbin/my_init"]
|
||||
|
||||
Reference in New Issue
Block a user