mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-16 18:44:18 +00:00
use mariadb environment variables
This commit is contained in:
@@ -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",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user