Up docker-compose configuration

This commit is contained in:
Filip Gralinski 2020-03-17 21:57:41 +01:00
parent 4046e32f5e
commit bc82aa6de3
3 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@ WORKDIR /root/
RUN apt-get -y update && apt-get -y install libfcgi-dev && apt-get clean && rm -rf /var/lib/apt/lists/* RUN apt-get -y update && apt-get -y install libfcgi-dev && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN git clone git://gonito.net/geval && cd geval && git reset --hard 599b08eb2beb207b81073acb9626696f7f0e0171 RUN git clone git://gonito.net/geval && cd geval && git reset --hard 599b08eb2beb207b81073acb9626696f7f0e0171
RUN git clone git://gonito.net/gonito && cd gonito && git reset --hard 389a01825445d99b489dfb91faeb207473830752 RUN git clone git://gonito.net/gonito && cd gonito && git reset --hard 4046e32f5e8e3e9bd61a880c20a37154bf30798a
WORKDIR gonito WORKDIR gonito

View File

@ -24,6 +24,7 @@ services:
- APPROOT=$GONITO_APPROOT - APPROOT=$GONITO_APPROOT
- LEADERBOARD_STYLE=${GONITO_LEADERBOARD_STYLE:-by-tag} - LEADERBOARD_STYLE=${GONITO_LEADERBOARD_STYLE:-by-tag}
- AUTO_OPENING=${GONITO_AUTO_OPENING:-false} - AUTO_OPENING=${GONITO_AUTO_OPENING:-false}
- IS_PUBLIC=${GONITO_IS_PUBLIC:-true}
expose: expose:
- "3000" - "3000"
volumes: volumes:

View File

@ -8,3 +8,4 @@ GONITO_APPROOT=https://localhost:443
GONITO_LEADERBOARD_STYLE=by-tag GONITO_LEADERBOARD_STYLE=by-tag
GONITO_AUTO_OPENING=false GONITO_AUTO_OPENING=false
NGINX_CERTIFICATE_DIR=/home/user/certs NGINX_CERTIFICATE_DIR=/home/user/certs
GONITO_IS_PUBLIC=true