mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-15 02:22:29 +03:00
Explicit DATABASE_URL
This commit is contained in:
parent
a625327226
commit
c3d6440830
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user