Skip to content

Instantly share code, notes, and snippets.

Last active August 23, 2020 18:46
What would you like to do?
Settings Database
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'bug',
'USER': config('DB_USER'),
'PASSWORD': config('DBPASS'),
'HOST': 'db', # You are supposed to use service name not localhost
'PORT': '3306',
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment