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