diff --git a/pootle/pootle.conf b/pootle/pootle.conf index 1499269..8b0843a 100644 --- a/pootle/pootle.conf +++ b/pootle/pootle.conf @@ -43,9 +43,9 @@ DATABASES = { # Not used with sqlite3. 'PASSWORD': os.environ.get('MYSQL_PASSWORD'), # Set to empty string for localhost. Not used with sqlite3. - 'HOST': 'mysql', + 'HOST': os.environ.get('MYSQL_HOST', 'mysql'), # Set to empty string for default. Not used with sqlite3. - 'PORT': '3306' + 'PORT': os.environ.get('MYSQL_PORT', '3306') } }