fix: use DATABASE_URL instead of DATABASE_HOST
This commit is contained in:
parent
24cfbc44af
commit
4acf0d5248
1 changed files with 2 additions and 4 deletions
|
|
@ -15,8 +15,7 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
env:
|
||||
MIX_ENV: test
|
||||
DATABASE_HOST: postgres
|
||||
DATABASE_PORT: 5432
|
||||
DATABASE_URL: ecto://postgres:postgres@postgres/towerops_test
|
||||
|
||||
services:
|
||||
postgres:
|
||||
|
|
@ -83,8 +82,7 @@ jobs:
|
|||
needs: test-exunit
|
||||
env:
|
||||
MIX_ENV: dev
|
||||
DATABASE_HOST: postgres
|
||||
DATABASE_PORT: 5432
|
||||
DATABASE_URL: ecto://postgres:postgres@postgres/towerops_dev
|
||||
|
||||
services:
|
||||
postgres:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue