From f0c34c4323416574707343bed554a7e2e6b4eaa8 Mon Sep 17 00:00:00 2001 From: zeus Date: Thu, 30 Dec 2021 23:30:03 +0200 Subject: [PATCH] add cnf --- install/usr/share/swarmlab.io/sec/swarmlab-sec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install/usr/share/swarmlab.io/sec/swarmlab-sec b/install/usr/share/swarmlab.io/sec/swarmlab-sec index dc8dae4..80a2388 100755 --- a/install/usr/share/swarmlab.io/sec/swarmlab-sec +++ b/install/usr/share/swarmlab.io/sec/swarmlab-sec @@ -275,6 +275,7 @@ fi /bin/cp -f $DIR/ROOT_PASSWORD $Wdir/ROOT_PASSWORD /bin/cp -rf $DIR/.vimrc $Wdir/.vimrc /bin/cp -rf $DIR/bin $Wdir +/bin/cp -rf $DIR/my.cnf $Wdir /bin/cp -rf $DIR/install-vim-plugin.sh $Wdir/install-vim-plugin.sh @@ -306,7 +307,8 @@ services: volumes: - $Wdir/project:/home/docker/project - $Wdir/bin/ttyd.x86_64:/usr/bin/ttyd - - $Wdir/my.cnf:/etc/mysql/my.cnf + - $Wdir/project/sqldata:/var/lib/mysql + - $Wdir/my.cnf:/etc/mysql/mariadb.cnf # workerservice: