Added environment variables for web-api user/pass (#131)

This commit is contained in:
Miguel Serrano 2020-01-09 15:55:57 +01:00 committed by GitHub
parent c4104806c3
commit 4a424096f2

View file

@ -81,6 +81,15 @@ COPY ${baseDir}/init_scripts/ /etc/my_init.d/
RUN cd /var/www && node git-revision > revisions.txt
# Set Environment Variables
# --------------------------------
ENV WEB_API_USER "sharelatex"
# password is regenerated in init_scripts/00_regen_sharelatex_secrets.sh
ENV WEB_API_PASSWORD "password"
ENV SHARELATEX_APP_NAME "Overleaf Community Edition"
EXPOSE 80
WORKDIR /