Explicit DATABASE_URL

This commit is contained in:
Bruno Alla 2020-11-09 19:23:48 +00:00
parent a625327226
commit c3d6440830

View File

@ -65,10 +65,13 @@ jobs:
image: postgres:12 image: postgres:12
ports: ports:
- 5432:5432 - 5432:5432
env:
POSTGRES_PASSWORD: postgres
env: env:
CELERY_BROKER_URL: "redis://localhost:6379/0" CELERY_BROKER_URL: "redis://localhost:6379/0"
DATABASE_URL: "postgres://postgres" # postgres://user:password@host:port/database
DATABASE_URL: "postgres://postgres:postgres@postgres:5432/postgres"
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2