mybuddy/babybuddy/settings/docker.py

17 lines
354 B
Python
Raw Normal View History

from .base import *
2017-11-24 14:09:43 +00:00
# Database
2020-01-19 16:49:45 +00:00
# https://docs.djangoproject.com/en/3.0/ref/settings/#databases
2017-11-24 14:09:43 +00:00
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'postgres',
'USER': 'postgres',
'PASSWORD': os.environ.get('POSTGRES_PASSWORD'),
2017-11-24 14:09:43 +00:00
'HOST': 'db',
'PORT': 5432,
}
}