From b6fe7814de9cd228ea543609ffe9df973e4c24b5 Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Tue, 31 Jan 2023 08:42:31 +0000 Subject: [PATCH] Deploy scripts: - Cosmetic changes --- my_deploy.sh | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/my_deploy.sh b/my_deploy.sh index 276b4eead..4c5475da5 100644 --- a/my_deploy.sh +++ b/my_deploy.sh @@ -37,7 +37,9 @@ export TFS_GRAFANA_PASSWORD="admin123+" # Disable skip-build flag to rebuild the Docker images. export TFS_SKIP_BUILD="" + # ----- CockroachDB ------------------------------------------------------------ + # Set the namespace where CockroackDB will be deployed. export CRDB_NAMESPACE="crdb" @@ -60,9 +62,32 @@ export CRDB_DROP_DATABASE_IF_EXISTS="" # Disable flag for re-deploying CockroachDB from scratch. export CRDB_REDEPLOY="" + # ----- NATS ------------------------------------------------------------------- + # Set the namespace where NATS will be deployed. export NATS_NAMESPACE="nats" # Disable flag for re-deploying NATS from scratch. export NATS_REDEPLOY="" + + +# ----- QuestDB ---------------------------------------------------------------- + +# If not already set, set the namespace where QuestDB will be deployed. +export QDB_NAMESPACE=${QDB_NAMESPACE:-"qdb"} + +# If not already set, set the database username to be used by Monitoring. +export QDB_USERNAME=${QDB_USERNAME:-"admin"} + +# If not already set, set the database user's password to be used by Monitoring. +export QDB_PASSWORD=${QDB_PASSWORD:-"quest"} + +# If not already set, set the table name to be used by Monitoring. +export QDB_TABLE=${QDB_TABLE:-"tfs_monitoring"} + +## If not already set, disable flag for dropping table if exists. +#export QDB_DROP_TABLE_IF_EXISTS=${QDB_DROP_TABLE_IF_EXISTS:-""} + +# If not already set, disable flag for re-deploying QuestDB from scratch. +export QDB_REDEPLOY=${QDB_REDEPLOY:-""} -- GitLab