Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
lexoyo authored Aug 24, 2024
1 parent c183cf8 commit 15e7976
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ RUN apt-get update
EXPOSE 6805

# see doc about env vars here: https://github.com/silexlabs/Silex/wiki/How-to-Host-An-Instance-of-Silex#environment-variables
# these can be overriden using the `-e` option in docker run
# SILEX_FS_ROOT=/repo.git/
# these can be overridden using the `-e` option in docker run

ENV SILEX_EXPRESS_JSON_LIMIT=1mb
ENV SILEX_EXPRESS_TEXT_LIMIT=10mb
Expand All @@ -27,6 +26,21 @@ ENV SILEX_CLIENT_CONFIG=
ENV SILEX_FS_ROOT=
ENV SILEX_URL=http://localhost:6805

# Additional environment variables based on README
ENV STORAGE_CONNECTORS=ftp,gitlab,gitlab2
ENV HOSTING_CONNECTORS=ftp,gitlab,gitlab2,download
ENV SILEX_FS_HOSTING_ROOT=/silex/hosting/
ENV FTP_STORAGE_PATH=/silex/storage/
ENV FTP_HOSTING_PATH=/silex/hosting/
ENV GITLAB_DISPLAY_NAME=Gitlab
ENV GITLAB_DOMAIN=
ENV GITLAB_CLIENT_ID=
ENV GITLAB_CLIENT_SECRET=
ENV GITLAB2_DISPLAY_NAME=Gitlab2
ENV GITLAB2_DOMAIN=
ENV GITLAB2_CLIENT_ID=
ENV GITLAB2_CLIENT_SECRET=

COPY . /silex
WORKDIR /silex
RUN npm install
Expand Down

0 comments on commit 15e7976

Please sign in to comment.