DATABASES = {'default': {'ENGINE': 'transaction_hooks.backends.postgis',
    'USER': 'postgres', 'NAME': 'dbuser', 'HOST': DOCKER_IP, 'POST': 5432,
    'CONN_MAX_AGE': None}}
REDIS_URL = 'redis://%s:6379/1' % DOCKER_IP
docker with pycharm 5