Hello,

As the title suggests, how do you manage your DBs for docker services.

Do you spin a new DB for every new docker cluster or do you have a centralized DB that is accessible to the docker clusters.

What are the pros and cons of both method?

For the moment, I spin a new DB for every services as I feel it is easier to backup the service in case of a problem.

  • clifmo@programming.dev
    link
    fedilink
    English
    arrow-up
    3
    ·
    20 hours ago

    Bare metal database VM running mariadb, postgres and valkey. Haven’t had any issues with needing multiple versions. Simpler to manage imaging the VM and data backups from a central place. Plus, I need a general database anyways for development work, sanitized production clones, etc. No sense in having 50 database servers running when I can have 3