Change the mysql class.

This commit is contained in:
Andrea Dell'Amico 2021-01-08 14:32:29 +01:00
parent 785b9208f1
commit 283c1a6ae7
2 changed files with 5 additions and 2 deletions

View File

@ -49,3 +49,4 @@ inception_project_settings:
- 'auth.mode={{ inception_project_server_auth_mode }}'
- 'auth.preauth.header.principal={{ inception_project_server_preauth_header }}'
- 'auth.preauth.newuser.roles={{ inception_project_server_preauth_default_roles }}'
- 'warnings.embeddedDatabase=true'

View File

@ -21,8 +21,10 @@ services:
{% endif %}
environment:
- INCEPTION_DB_DIALECT=org.hibernate.dialect.MySQL5InnoDBDialect
- INCEPTION_DB_DRIVER=com.mysql.jdbc.Driver
- INCEPTION_DB_URL=jdbc:mysql://{{ inception_project_db_host }}:{{ inception_project_db_port }}/{{ inception_project_db_name }}?useSSL=false&useUnicode=true&characterEncoding=UTF-8
# - INCEPTION_DB_DRIVER=com.mysql.jdbc.Driver
- INCEPTION_DB_DRIVER=com.mysql.cj.jdbc.Driver
# - INCEPTION_DB_URL=jdbc:mysql://{{ inception_project_db_host }}:{{ inception_project_db_port }}/{{ inception_project_db_name }}?useSSL=false&useUnicode=true&characterEncoding=UTF-8
- INCEPTION_DB_URL=jdbc:mysql://{{ inception_project_db_host }}:{{ inception_project_db_port }}/{{ inception_project_db_name }}?useUnicode=true&characterEncoding=UTF-8
- INCEPTION_DB_USERNAME={{ inception_project_db_user }}
- INCEPTION_DB_PASSWORD={{ inception_project_db_pwd }}
volumes: