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.

  • ohulancutash@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    4 hours ago

    sometimes there’s trouble restarting after power failure, depending on what order the database, pi, and various containers come back up.

    depends_on solves this problem