Merge pull request #8 from mtyton/feature/production_preparation
small settings modificationpull/2/head
commit
433fce315e
|
@ -93,7 +93,7 @@ import dj_database_url as db_url
|
|||
|
||||
DATABASES = {
|
||||
"default": db_url.parse(
|
||||
os.environ.get("DATABASE_URL")
|
||||
os.environ.get("DATABASE_URL", "postgres://comfy:password@db/comfy_shop")
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
@ -26,4 +26,4 @@ services:
|
|||
volumes:
|
||||
- ../postgres/:/var/lib/postgresql
|
||||
env_file:
|
||||
- .env
|
||||
- .env
|
||||
|
|
Ładowanie…
Reference in New Issue