diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 033dfe77..3e6781c0 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -15,10 +15,13 @@ jobs: postgres: image: postgres:15 env: + POSTGRES_USER: ${{secrets.POSTGRES_USER}} POSTGRES_PASSWORD: ${{secrets.POSTGRES_PASSWORD}} POSTGRES_DB: ${{secrets.POSTGRES_DB}} + ports: + - 5432:5432 options: >- - --health-cmd pg_isready + --health-cmd "pg_isready -U postgres" --health-interval 10s --health-timeout 5s --health-retries 5