fix: don't overwrite CMD_DB_URL
Some checks failed
continuous-integration/drone/pr Build is failing

This commit is contained in:
f 2024-10-25 17:52:50 -03:00
parent 3a98857b5c
commit 35e78f4834

View File

@ -37,7 +37,7 @@ main() {
main
export CMD_DB_URL=postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CMD_DB_NAME
export CMD_DB_URL="${CMD_DB_URL:-postgres://$CMD_DB_USER:$CMD_DB_PASSWORD@$CMD_DB_HOST:5432/$CMD_DB_NAME}"
# 3wc: `source /docker-entrypoint.sh -e` to load CMD_DB_URL for CLI scripts
if [ ! "${1-}" == "-e" ]; then