diff --git a/roles/docker-mailu/templates/mailu.env.j2 b/roles/docker-mailu/templates/mailu.env.j2 index 6192ac87..b0d8372d 100644 --- a/roles/docker-mailu/templates/mailu.env.j2 +++ b/roles/docker-mailu/templates/mailu.env.j2 @@ -142,16 +142,7 @@ LOG_LEVEL=WARNING ################################### # Database settings ################################### -DB_FLAVOR=mysql -DB_USER={{database_username}} -DB_PW={{database_password}} -DB_HOST={{database_host}}:3306 -DB_NAME={{database_name}} -ROUNDCUBE_DB_FLAVOR=mysql -ROUNDCUBE_DB_USER={{database_username}} -ROUNDCUBE_DB_PW={{database_password}} -ROUNDCUBE_DB_NAME={{database_name}} -ROUNDCUBE_DB_HOST={{database_host}}:3306 - +SQLALCHEMY_DATABASE_URI_ROUNDCUBE=mysql://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci +SQLALCHEMY_DATABASE_URI=mysql+mysqlconnector://{{database_username}}:{{database_password}}@{{database_host}}/{{database_name}}?collation=utf8mb4_unicode_ci API_TOKEN={{mailu_api_token}} \ No newline at end of file