Bitwarden domain change

This commit is contained in:
2023-06-21 14:19:20 +00:00
parent 6832adea9b
commit e17b587df1

View File

@@ -44,6 +44,8 @@ if [[ "$BITWARDEN" == "yes" ]]; then
echo "Bitwarden install has started from ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git"; echo "Bitwarden install has started from ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git";
git clone ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git /tmp/bitwarden git clone ssh://$GIT_REPO/$ORGANIZATION/bitwarden.git /tmp/bitwarden
sed -i "s/DOMAIN_NAME/$BITWARDEN_DOMAIN/g" /tmp/bitwarden/domain-bitwarden.json
BITWARDEN_TOKEN=$(echo $RANDOM | md5sum | head -c 20); BITWARDEN_TOKEN=$(echo $RANDOM | md5sum | head -c 20);
DB_MYSQL="$(echo $RANDOM | md5sum | head -c 8)"; DB_MYSQL="$(echo $RANDOM | md5sum | head -c 8)";