Code Monkey home page Code Monkey logo

Comments (8)

themandoug avatar themandoug commented on July 24, 2024 1

Hi,

Has there been any further progress on this?

I need to configure SSL and table encryption properties. I can locate the my.cnf in the container itself although I don't know how persistent it is if I make changes to it directly.

Thanks,
Paul

from dokku-mariadb.

Epigene avatar Epigene commented on July 24, 2024

Ability to specify database configuration would be handy indeed. MySQL docs speak of config for mysqld. How would configuration persist in container context?

from dokku-mariadb.

josegonzalez avatar josegonzalez commented on July 24, 2024

We only currently mount a host directory for /var/lib/mysql. We would take a pr to add support for /etc/mysql/conf.d, or you can sponsor the work so it can be done faster.

from dokku-mariadb.

crisward avatar crisward commented on July 24, 2024

If there are no plans to do this soon, I'll take a look at doing a pull request. Could do with tweaking some settings for performance reasons ie. innodb_buffer_pool_size.

I'm guessing mapping a volume to /var/lib/dokku/services/mariadb/APP/conf.d/ would do it, along with pre-populating it with the defaults.

from dokku-mariadb.

crisward avatar crisward commented on July 24, 2024

@josegonzalez, taking a look at this, I've added the volume to my fork, however I noticed the plugin already seems to create a config directory here https://github.com/dokku/dokku-mariadb/blob/master/functions#L24 just wondering what this is for?

from dokku-mariadb.

josegonzalez avatar josegonzalez commented on July 24, 2024

No use atm, but we could use it for this. Can you also make the same pr for mysql?

from dokku-mariadb.

crisward avatar crisward commented on July 24, 2024

I've done a pr for this, checked mysql and it already seems to have it.
https://github.com/dokku/dokku-mysql/blob/master/functions#L48

from dokku-mariadb.

josegonzalez avatar josegonzalez commented on July 24, 2024

The /etc/mysql/conf.d directory is now mounted, so you should be able to just add whatever you want into it.

from dokku-mariadb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.