|
|
@ -25,10 +25,10 @@ class GitUtil: |
|
|
|
self.cine_sql_path = os.path.join(settings.BASE_DIR, 'dx', 'sql') |
|
|
|
self.cine_sql_path = os.path.join(settings.BASE_DIR, 'dx', 'sql') |
|
|
|
self.db_name = self.get_db_name(self.short_release) |
|
|
|
self.db_name = self.get_db_name(self.short_release) |
|
|
|
self.db_config = { |
|
|
|
self.db_config = { |
|
|
|
'host': settings.CONFIG[ENV]['HOST'], |
|
|
|
'host': settings.CONFIG[ENV]['DB']['HOST'], |
|
|
|
'user': settings.CONFIG[ENV]['USER'], |
|
|
|
'user': settings.CONFIG[ENV]['DB']['USER'], |
|
|
|
'password': settings.CONFIG[ENV]['PASSWORD'], |
|
|
|
'password': settings.CONFIG[ENV]['DB']['PASSWORD'], |
|
|
|
'port': settings.CONFIG[ENV]['PORT'], |
|
|
|
'port': settings.CONFIG[ENV]['DB']['PORT'], |
|
|
|
'connect_timeout': 5, |
|
|
|
'connect_timeout': 5, |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|