From bc82aa6de3ccae723811ea363048d9e04fe7974d Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Tue, 17 Mar 2020 21:57:41 +0100 Subject: [PATCH] Up docker-compose configuration --- Dockerfile | 2 +- docker-compose.yml | 1 + sample.env | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be0588c..2488e3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 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 diff --git a/docker-compose.yml b/docker-compose.yml index d475367..07a6b0a 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,7 @@ services: - APPROOT=$GONITO_APPROOT - LEADERBOARD_STYLE=${GONITO_LEADERBOARD_STYLE:-by-tag} - AUTO_OPENING=${GONITO_AUTO_OPENING:-false} + - IS_PUBLIC=${GONITO_IS_PUBLIC:-true} expose: - "3000" volumes: diff --git a/sample.env b/sample.env index 4c76810..f09bc83 100644 --- a/sample.env +++ b/sample.env @@ -8,3 +8,4 @@ GONITO_APPROOT=https://localhost:443 GONITO_LEADERBOARD_STYLE=by-tag GONITO_AUTO_OPENING=false NGINX_CERTIFICATE_DIR=/home/user/certs +GONITO_IS_PUBLIC=true