From a7b6f70ed47a4b827ca895093330b21ff78d83a3 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 19 Jul 2023 12:29:54 +0100 Subject: [PATCH] remove secret generation --- configure.sh | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/configure.sh b/configure.sh index 6e066ec582..e2f34883b6 100644 --- a/configure.sh +++ b/configure.sh @@ -2,28 +2,6 @@ set -e -ONEUPTIME_SECRET=$(openssl rand -hex 12) -export ONEUPTIME_SECRET=$ONEUPTIME_SECRET - -DATABASE_PASSWORD=$(openssl rand -hex 12) -export DATABASE_PASSWORD=$DATABASE_PASSWORD - -CLICKHOUSE_PASSWORD=$(openssl rand -hex 12) -export CLICKHOUSE_PASSWORD=$CLICKHOUSE_PASSWORD - -REDIS_PASSWORD=$(openssl rand -hex 12) -export REDIS_PASSWORD=$REDIS_PASSWORD - -ENCRYPTION_SECRET=$(openssl rand -hex 12) -export ENCRYPTION_SECRET=$ENCRYPTION_SECRET - -INTERNAL_SMTP_PASSWORD=$(openssl rand -hex 12) -export INTERNAL_SMTP_PASSWORD=$INTERNAL_SMTP_PASSWORD - -GLOBAL_PROBE_KEY=$(openssl rand -hex 12) -export GLOBAL_PROBE_KEY=$GLOBAL_PROBE_KEY - - # Talk to the user echo "Welcome to the OneUptime 🟢 Runner" echo "" @@ -192,8 +170,6 @@ ts-node-esm ./Scripts/Install/MergeEnvTemplate.ts export $(grep -v '^#' config.env | xargs) # Write env vars in config files. - - for directory_name in $(find . -maxdepth 1 -type d) ; do if [ -f "$directory_name/Dockerfile.tpl" ]; then cat $directory_name/Dockerfile.tpl | gomplate > $directory_name/Dockerfile