mirror of https://github.com/itflow-org/itflow
Adding REPO_BRANCH
This commit is contained in:
parent
252deefdcd
commit
9f832cb527
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue