almost finish migrate new circumstances

This commit is contained in:
2025-08-24 19:44:36 +09:00
parent 1ba305641e
commit fe5a044c82
67 changed files with 1194889 additions and 467 deletions

2
wait-for-postgres.sh Normal file → Executable file
View File

@ -6,7 +6,7 @@ set -e
host="$1"
shift
until PGPASSWORD=$POSTGRES_PASS psql -h "$host" -U "postgres" -c '\q'; do
until PGPASSWORD=$POSTGRES_PASS psql -h "$host" -U "$POSTGRES_USER" -d "$POSTGRES_DBNAME" -c '\q'; do
>&2 echo "Postgres is unavailable - sleeping"
sleep 1
done