File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,14 @@ jobs:
3232 image : registry.gitlab.com/finestructure/spi-base:46fc194706b255239d764c87f05f825ad9f98303
3333 options : --privileged
3434 services :
35- postgres :
35+ db-0 :
3636 image : postgres:16-alpine
3737 env :
3838 POSTGRES_DB : spi_test
3939 POSTGRES_USER : spi_test
4040 POSTGRES_PASSWORD : xxx
4141 ports :
42- - ' 5432:6000 '
42+ - ' 5432:5432 '
4343 options : >-
4444 --health-cmd pg_isready
4545 --health-interval 10s
5252 run : |
5353 apt-get update && apt -y install postgresql
5454 which psql
55- PGPASSWORD=xxx psql -h postgres -U spi_test spi_test -p 6000 -c "select 'ok';"
55+ PGPASSWORD=xxx psql -h db-0 -U spi_test spi_test -p 5432 -c "select 'ok';"
5656 env :
5757 COLLECTION_SIGNING_PRIVATE_KEY : ${{ secrets.COLLECTION_SIGNING_PRIVATE_KEY }}
5858 DATABASEPOOL_SIZE : 8
You can’t perform that action at this time.
0 commit comments