Last active
August 23, 2020 18:46
-
-
Save gagansh7171/a0cf75e5c3db8ba6a4f5b8ed0a074940 to your computer and use it in GitHub Desktop.
Settings Database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DATABASES = { | |
'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