Adding REPO_BRANCH
This commit is contained in:
@@ -13,6 +13,8 @@ ENV ITFLOW_PORT 8080
|
|||||||
|
|
||||||
ENV ITFLOW_REPO github.com/itflow-org/itflow
|
ENV ITFLOW_REPO github.com/itflow-org/itflow
|
||||||
|
|
||||||
|
ENV ITFLOW_REPO_BRANCH master
|
||||||
|
|
||||||
# apache2 log levels: emerg, alert, crit, error, warn, notice, info, debug
|
# apache2 log levels: emerg, alert, crit, error, warn, notice, info, debug
|
||||||
ENV ITFLOW_LOG_LEVEL warn
|
ENV ITFLOW_LOG_LEVEL warn
|
||||||
|
|
||||||
|
|||||||
@@ -37,6 +37,7 @@ services:
|
|||||||
- ITFLOW_URL=it.$ROOT_DOMAIN
|
- ITFLOW_URL=it.$ROOT_DOMAIN
|
||||||
- ITFLOW_PORT=8080
|
- ITFLOW_PORT=8080
|
||||||
- ITFLOW_REPO=github.com/itflow-org/itflow
|
- ITFLOW_REPO=github.com/itflow-org/itflow
|
||||||
|
- ITFLOW_REPO_BRANCH=master
|
||||||
- ITFLOW_LOG_LEVEL=info
|
- ITFLOW_LOG_LEVEL=info
|
||||||
- ITFLOW_DB_HOST=itflow-db
|
- ITFLOW_DB_HOST=itflow-db
|
||||||
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS
|
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ if [[ -f /var/www/html/index.php ]]; then
|
|||||||
cd /var/www/html
|
cd /var/www/html
|
||||||
git fetch
|
git fetch
|
||||||
else
|
else
|
||||||
git clone https://$ITFLOW_REPO /var/www/html
|
git clone --branch $ITFLOW_REPO_BRANCH https://$ITFLOW_REPO /var/www/html
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git config --global --add safe.directory /var/www/html
|
git config --global --add safe.directory /var/www/html
|
||||||
|
|||||||
@@ -155,6 +155,7 @@ services:
|
|||||||
- ITFLOW_URL=$ITFLOW_URL
|
- ITFLOW_URL=$ITFLOW_URL
|
||||||
- ITFLOW_PORT=8080
|
- ITFLOW_PORT=8080
|
||||||
- ITFLOW_REPO=github.com/itflow-org/itflow
|
- ITFLOW_REPO=github.com/itflow-org/itflow
|
||||||
|
- ITFLOW_REPO_BRANCH=master
|
||||||
- ITFLOW_LOG_LEVEL=info
|
- ITFLOW_LOG_LEVEL=info
|
||||||
- ITFLOW_DB_HOST=itflow-db
|
- ITFLOW_DB_HOST=itflow-db
|
||||||
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS
|
- ITFLOW_DB_PASS=$ITFLOW_DB_PASS
|
||||||
|
|||||||
Reference in New Issue
Block a user