2015-12-16 16:38:22 +00:00
|
|
|
# Docker settings
|
2018-10-20 00:05:10 +00:00
|
|
|
from .settings import *
|
2015-12-16 16:38:22 +00:00
|
|
|
|
|
|
|
DATABASES = {
|
2020-02-17 20:58:07 +00:00
|
|
|
"default": {
|
|
|
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
|
|
|
"NAME": "pokeapi",
|
|
|
|
"USER": "ash",
|
|
|
|
"PASSWORD": "pokemon",
|
|
|
|
"HOST": "localhost",
|
|
|
|
"PORT": "",
|
2018-10-19 18:03:48 +00:00
|
|
|
}
|
2015-12-16 16:38:22 +00:00
|
|
|
}
|
|
|
|
|
2016-05-03 15:05:37 +00:00
|
|
|
|
|
|
|
CACHES = {
|
|
|
|
"default": {
|
|
|
|
"BACKEND": "django_redis.cache.RedisCache",
|
|
|
|
"LOCATION": "redis://127.0.0.1:6379/1",
|
2020-11-23 21:05:49 +00:00
|
|
|
"OPTIONS": {
|
|
|
|
"CLIENT_CLASS": "django_redis.client.DefaultClient",
|
|
|
|
},
|
2016-05-03 15:05:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-16 16:38:22 +00:00
|
|
|
DEBUG = True
|