parent
7fc5cb7d4f
commit
acf69d718c
1 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@ jobs:
|
|||
POSTGRES_DB: tethys_dev
|
||||
ports:
|
||||
# Maps tcp port 5432 on service container to the host
|
||||
- 5432:5432
|
||||
- 5433:5433
|
||||
# Set health checks to wait until postgres has started
|
||||
options: |
|
||||
--health-cmd pg_isready
|
||||
|
@ -28,7 +28,7 @@ jobs:
|
|||
--health-retries 5
|
||||
env:
|
||||
POSTGRES_HOST: localhost
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_PORT: 5433
|
||||
POSTGRES_PASSWORD: iEx4Vj7zBb6
|
||||
POSTGRES_USER: alice
|
||||
steps:
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
run: |
|
||||
echo "DB_CONNECTION=pg" >> .env.test
|
||||
echo "PG_HOST=localhost" >> .env.test
|
||||
echo "PG_PORT=5432" >> .env.test
|
||||
echo "PG_PORT=5433" >> .env.test
|
||||
echo "PG_USER=alice" >> .env.test
|
||||
echo "PG_PASSWORD=iEx4Vj7zBb6" >> .env.test
|
||||
echo "PG_DB_NAME=tethys_dev" >> .env.test
|
||||
|
|
Loading…
Add table
Reference in a new issue