MariaDB default encoding utf8mb4 and maintenance

* MariaDB encoding is set when creating DB through the entrypoint
* Cleaning Dockerfile
  * Removed `POSTGRES_USER`
  * Combined run commands
  * Changed deprecated `MAINTAINER` to `LABEL`
This commit is contained in:
Marvin Steadfast
2017-02-20 12:38:51 +01:00
parent 3e4cd35253
commit c42058bf0f
3 changed files with 12 additions and 15 deletions

View File

@ -70,6 +70,7 @@
login_port={{ database_port }}
login_user=root
login_password="{{ database_root_password_mariadb }}"
encoding="utf8mb4"
notify: run install
when: (database_driver == 'pdo_mysql') and
(populate_database == True)