Commit 393858ab authored by Mark Pundsack's avatar Mark Pundsack 💬

Add Postgres username and password to DATABASE_URL

parent 1921ac09
Pipeline #9145319 failed with stage
in 39 seconds
......@@ -69,7 +69,7 @@ if [[ -z "$DISABLE_POSTGRES" ]]; then
POSTGRES_USER="${POSTGRES_USER:-user}"
POSTGRES_PASSWORD="${POSTGRES_PASSWORD:-password}"
POSTGRES_DB="${POSTGRES_DB:-$env_slug}"
DATABASE_URL="postgres://${postgres_name}:5432/$POSTGRES_DB/"
DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${postgres_name}:5432/$POSTGRES_DB/"
cat <<EOF | kubectl apply -n $KUBE_NAMESPACE --force -f -
apiVersion: extensions/v1beta1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment