• g7s@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    This… I had to setup a postgres DB with multiple different DB’s in Docker for a project. General mindset seemed to be, a second DB = a second container.

    • Danacus@lemmy.vanoverloop.xyz
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      I think this is fine as long as your image contains two databases. Don’t just add a database to a running container, that’s bad practice since containers are designed to be volatile.