This commit is contained in:
korzepadawid 2024-12-15 13:50:17 +01:00
parent b2e358edfb
commit 6b7a935fc3

View File

@ -13,6 +13,8 @@ fi
echo $APP_URL
echo DATABASE_URL
echo $DATABASE_URL
if [[ $DATABASE_URL =~ ^postgres://([^:]+):([^@]+)@([^:]+):([0-9]+)/([^/]+)$ ]]; then
DB_USER="${BASH_REMATCH[1]}"
DB_PASS="${BASH_REMATCH[2]}"