From 4cadcb12c1ecd7b9e32322104aec58de36f2ffc4 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 10 Jan 2024 09:32:56 +0100 Subject: [PATCH] new: [mariadb] allow easy access to standard full priviledged ``mysql`` command --- mariadb/hooks/init | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/mariadb/hooks/init b/mariadb/hooks/init index 2c64b8d..2ee97c7 100755 --- a/mariadb/hooks/init +++ b/mariadb/hooks/init @@ -56,4 +56,11 @@ EOF } info "New root password for mysql. " -fi \ No newline at end of file +fi + +init-config-add "\ +$MASTER_BASE_SERVICE_NAME: + volumes: + - '$HOST_DB_PASSFILE:/root/.my.cnf' +" +