Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose conf file for mariadb #309

Closed
ajstanley opened this issue Nov 28, 2023 · 1 comment
Closed

Expose conf file for mariadb #309

ajstanley opened this issue Nov 28, 2023 · 1 comment

Comments

@ajstanley
Copy link

Drupal's preference is to have the isolation level for transactions set to READ-COMMITTED instead of the default REPEATABLE-READ. If the config file were exposed and persistable we could change that default, and allow some performance tuning

@nigelgbanks
Copy link
Contributor

Environment variables can be added like the existing ones.

https://github.com/Islandora-Devops/isle-buildkit/tree/main/mariadb#settings
https://github.com/Islandora-Devops/isle-buildkit/blob/main/mariadb/rootfs/etc/confd/templates/mariadb-server.cnf.tmpl#L11

Alternatively, if you want to just provide your own file, you can mount it at /etc/confd/templates/mariadb-server.cnf.tmpl and that file will be used for /etc/my.cnf.d/mariadb-server.cnf when the template renders.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants