You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2022/10/14 17:42:52 UTC
[airavata-custos-portal] branch master updated: Updated docker configs
This is an automated email from the ASF dual-hosted git repository.
isjarana pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airavata-custos-portal.git
The following commit(s) were added to refs/heads/master by this push:
new 52f2c48 Updated docker configs
new 2371b61 Merge pull request #158 from dinukadesilva/adding-maintenance-page
52f2c48 is described below
commit 52f2c4891892e8f96153a80d497bdc90e10c6148
Author: Dinuka De Silva <l....@gmail.com>
AuthorDate: Fri Oct 14 13:41:41 2022 -0400
Updated docker configs
---
docker-compose.yml | 1 +
entrypoint.sh | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/docker-compose.yml b/docker-compose.yml
index f8d11e5..f88a134 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,3 +13,4 @@ services:
VUE_APP_REDIRECT_URI: 'http://localhost:8080/callback'
VUE_APP_CUSTOS_API_URL: 'https://custos.scigap.org/apiserver'
VUE_APP_SUPER_CLIENT_ID: ''
+ VUE_APP_UNDER_MAINTENANCE: false
diff --git a/entrypoint.sh b/entrypoint.sh
index cddc10c..d5024c3 100644
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -11,7 +11,7 @@ do
cp $file $file.tmpl.js
fi
- envsubst '$VUE_APP_CLIENT_ID,$VUE_APP_CLIENT_SEC,$VUE_APP_REDIRECT_URI,$VUE_APP_CUSTOS_API_URL,$VUE_APP_SUPER_CLIENT_ID' < $file.tmpl.js > $file
+ envsubst '$VUE_APP_CLIENT_ID,$VUE_APP_CLIENT_SEC,$VUE_APP_REDIRECT_URI,$VUE_APP_CUSTOS_API_URL,$VUE_APP_SUPER_CLIENT_ID$VUE_APP_UNDER_MAINTENANCE' < $file.tmpl.js > $file
done
echo "Starting Nginx"