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:
parent
82be4f4f60
commit
efedd28d68
1 changed files with 2 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue