Works around a bug in MariaDB (various versions >10.x) where the Nextcloud setup fails after a while, gets stuck or shows interesting behaviour like not creating users

See: https://github.com/docker-library/mariadb/issues/262
This commit is contained in:
Jan Beilicke 2020-03-27 00:14:17 +01:00
parent 82be4f4f60
commit efedd28d68

View file

@ -29,6 +29,8 @@
group: "{{ docker_user }}"
mode: '0640'
content: |
# See https://github.com/docker-library/mariadb/issues/262
MYSQL_INITDB_SKIP_TZINFO=1
MYSQL_ROOT_PASSWORD={{ mariadb_root_password }}
MYSQL_DATABASE={{ mysql_database }}
MYSQL_PASSWORD={{ nextcloud_mariadb_password }}