use mariadb environment variables

This commit is contained in:
C.J. May 2025-01-08 00:09:02 -06:00 committed by GitHub
parent 2f681db29c
commit 2cb3d3202c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,8 @@ class MariadbContainer(Container):
"""dict: get credentials for the service""" """dict: get credentials for the service"""
return { return {
'host': self.hostname, 'host': self.hostname,
'username': self.get_config_env('MYSQL_USER'), 'username': self.get_config_env('MARIADB_USER'),
'password': self.get_config_env('MYSQL_PASSWORD'), 'password': self.get_config_env('MARIADB_PASSWORD'),
'port': "3306", 'port': "3306",
} }