Adding REPO_BRANCH

This commit is contained in:
Xander Luedtke 2023-01-03 22:36:20 -07:00
parent 252deefdcd
commit 9f832cb527
4 changed files with 5 additions and 1 deletions

View File

@ -13,6 +13,8 @@ ENV ITFLOW_PORT 8080
ENV ITFLOW_REPO github.com/itflow-org/itflow
ENV ITFLOW_REPO_BRANCH master
# apache2 log levels: emerg, alert, crit, error, warn, notice, info, debug
ENV ITFLOW_LOG_LEVEL warn

View File

@ -37,6 +37,7 @@ services:
- ITFLOW_URL=it.$ROOT_DOMAIN
- ITFLOW_PORT=8080
- ITFLOW_REPO=github.com/itflow-org/itflow
- ITFLOW_REPO_BRANCH=master
- ITFLOW_LOG_LEVEL=info
- ITFLOW_DB_HOST=itflow-db
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS

View File

@ -20,7 +20,7 @@ if [[ -f /var/www/html/index.php ]]; then
cd /var/www/html
git fetch
else
git clone https://$ITFLOW_REPO /var/www/html
git clone --branch $ITFLOW_REPO_BRANCH https://$ITFLOW_REPO /var/www/html
fi
git config --global --add safe.directory /var/www/html

View File

@ -155,6 +155,7 @@ services:
- ITFLOW_URL=$ITFLOW_URL
- ITFLOW_PORT=8080
- ITFLOW_REPO=github.com/itflow-org/itflow
- ITFLOW_REPO_BRANCH=master
- ITFLOW_LOG_LEVEL=info
- ITFLOW_DB_HOST=itflow-db
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS