From 678a7859537da273fa52b2424478e54248ddfcef Mon Sep 17 00:00:00 2001 From: Dennis schafroth Date: Tue, 29 Jun 2021 12:51:36 +0200 Subject: [PATCH] Enable override of git repo --- app/Dockerfile | 2 ++ app/startup.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Dockerfile b/app/Dockerfile index 411c289..a824ba7 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -28,6 +28,8 @@ ADD config.docker.php ${SCRIPT_ROOT} ENV OWNER_UID=1000 ENV OWNER_GID=1000 +ENV TTRSS_SRC_REPO="https://git.tt-rss.org/fox/tt-rss.git" + # TTRSS_XDEBUG_HOST defaults to host IP if unset ENV TTRSS_XDEBUG_ENABLED="" ENV TTRSS_XDEBUG_HOST="" diff --git a/app/startup.sh b/app/startup.sh index cef538a..8b93914 100755 --- a/app/startup.sh +++ b/app/startup.sh @@ -15,7 +15,7 @@ if ! id app >/dev/null 2>&1; then fi DST_DIR=/var/www/html/tt-rss -SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git +SRC_REPO=${TTRSS_SRC_REPO} [ -e $DST_DIR ] && rm -f $DST_DIR/.app_is_ready