Skip to content

Instantly share code, notes, and snippets.

Last active Aug 23, 2020
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',