pokeapi/config/docker-compose.py

28 lines
541 B
Python
Raw Normal View History

# 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",
2020-11-23 21:05:49 +00:00
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
},
}
}
DEBUG = False
TASTYPIE_FULL_DEBUG = False