From 916d64ed5ff172b1c26f2f9161b88b04bf66d234 Mon Sep 17 00:00:00 2001 From: Max Countryman Date: Thu, 10 Oct 2024 11:37:10 -0700 Subject: [PATCH] map ports --- .github/workflows/rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 937f578..8fc7942 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -62,17 +62,19 @@ jobs: postgres: image: postgres env: - POSTGRES_HOST: localhost + #POSTGRES_HOST: localhost POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres POSTGRES_DB: underway + ports: + - 5432:5432 options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 env: - DATABASE_URL: postgres://postgres:postgres@localhost:5432/underway + DATABASE_URL: postgres://postgres:postgres@postgres:5432/underway steps: - uses: actions/checkout@v4 - run: |