mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-23 03:43:03 +00:00
25 lines
519 B
Python
25 lines
519 B
Python
# Docker settings
|
|
from .settings import *
|
|
|
|
DATABASES = {
|
|
"default": {
|
|
"ENGINE": "django.db.backends.postgresql_psycopg2",
|
|
"NAME": "pokeapi",
|
|
"USER": "ash",
|
|
"PASSWORD": "pokemon",
|
|
"HOST": "db",
|
|
"PORT": 5432,
|
|
}
|
|
}
|
|
|
|
|
|
CACHES = {
|
|
"default": {
|
|
"BACKEND": "django_redis.cache.RedisCache",
|
|
"LOCATION": "redis://cache:6379/1",
|
|
"OPTIONS": {"CLIENT_CLASS": "django_redis.client.DefaultClient",},
|
|
}
|
|
}
|
|
|
|
DEBUG = False
|
|
TASTYPIE_FULL_DEBUG = False
|