File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4343 echo "Checking PostgreSQL connection..."
4444 pg_isready -h localhost -p 5432 && exit 0
4545 echo "PostgreSQL not ready, retrying in 5s..."
46+ sleep 5
4647 done
4748 echo "PostgreSQL failed to start!" && exit 1
4849
5960 DB_USERNAME : postgres
6061 DB_PASSWORD : 12345678
6162 DB_NAME : database_services_test
62- DB_HOST : postgres
63+ DB_HOST : localhost
6364 JWT_SECRET : supersecretkey
6465 JWT_EXPIRES_IN : 1h
6566 run : yarn sync-db
6970 DB_USERNAME : postgres
7071 DB_PASSWORD : 12345678
7172 DB_NAME : database_services_test
72- DB_HOST : postgres
73+ DB_HOST : localhost
7374 JWT_SECRET : supersecretkey
7475 JWT_EXPIRES_IN : 1h
7576 run : yarn migrate
8081 DB_USERNAME : postgres
8182 DB_PASSWORD : 12345678
8283 DB_NAME : database_services_test
83- DB_HOST : postgres
84+ DB_HOST : localhost
8485 JWT_SECRET : supersecretkey
8586 JWT_EXPIRES_IN : 1h
8687 run : yarn test
You can’t perform that action at this time.
0 commit comments