• g7s
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 years 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
      ·
      2 years 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.