From a783fb4e624a0425ff9bd140180b7a0e873b6745 Mon Sep 17 00:00:00 2001 From: Ethan Girouard Date: Fri, 29 Mar 2024 19:48:29 -0400 Subject: [PATCH] Generate random hex value for Postgres password instead of base64 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4900151..db9a867 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -63,7 +63,7 @@ start-review: - ./add-dns.sh $CLOUDFLARE_ZONE_ID review-$CI_COMMIT_SHORT_SHA libretunes-auto-review $CLOUDFLARE_API_TOKEN $CLOUDFLARE_TUNNEL_ID - ./create-tunnel-config.sh http://libretunes:3000 review-$CI_COMMIT_SHORT_SHA.libretunes.xyz $CLOUDFLARE_TUNNEL_ID - export COMPOSE_PROJECT_NAME=review-$CI_COMMIT_SHORT_SHA - - export POSTGRES_PASSWORD=$(openssl rand -base64 32) + - export POSTGRES_PASSWORD=$(openssl rand -hex 16) - export LIBRETUNES_VERSION=$CI_COMMIT_SHORT_SHA - docker compose --file docker-compose-cicd.yml pull - docker compose --file docker-compose-cicd.yml create