From 663d7498b85ff85811e0d444b0d39605619e562b Mon Sep 17 00:00:00 2001 From: olli Date: Sun, 8 Oct 2023 16:34:14 +0200 Subject: [PATCH] docker.yml aktualisiert --- docker.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docker.yml b/docker.yml index 7611b97..08aeed8 100644 --- a/docker.yml +++ b/docker.yml @@ -114,6 +114,24 @@ "ip6tables": true } + - name: mariadb defaults + copy: + dest: "/home/docker/mariadb.env" + content: | + MARIADB_RANDOM_ROOT_PASSWORD=1 + MARIADB_AUTO_UPGRADE=1 + MARIADB_INITDB_SKIP_TZINFO=1 + # from here: save memory + MARIADB_KEY_BUFFER_SIZE=1M + MARIADB_MYISAMCHK_KEY_BUFFER_SIZE=1M + MARIADB_INNODB_BUFFER_POOL_SIZE=10M + MARIADB_INNODB_LOG_BUFFER_SIZE=512K + MARIADB_MYISAM_SORT_BUFFER_SIZE=64K + MARIADB_MYISAMCHK_SORT_BUFFER_SIZE=64K + MARIADB_READ_BUFFER_SIZE=8K + MARIADB_READ_RND_BUFFER_SIZE=8K + MARIADB_SORT_BUFFER_SIZE=64K + - name: /usr/local/sbin/autoupdate.d/docker.update blockinfile: path: /usr/local/sbin/autoupdate.d/docker.update