Works around a bug in MariaDB >=10.4 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 be6577703b

View file

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