mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-13 09:24:56 +00:00
use mariadb environment variables
This commit is contained in:
@@ -16,8 +16,8 @@ class MariadbContainer(Container):
|
||||
"""dict: get credentials for the service"""
|
||||
return {
|
||||
'host': self.hostname,
|
||||
'username': self.get_config_env('MYSQL_USER'),
|
||||
'password': self.get_config_env('MYSQL_PASSWORD'),
|
||||
'username': self.get_config_env('MARIADB_USER'),
|
||||
'password': self.get_config_env('MARIADB_PASSWORD'),
|
||||
'port': "3306",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user