Comment on How do you manage you DB in a docker environment?

Zikeji@programming.dev ⁨4⁩ ⁨days⁩ ago

Individually. If the app requires a DB, I put it in the compose file. This simplifies both backups and migrations. My tooling for backups has a pre and post script I can customize on a per app basis so I just have the pre do whatever *dump for that DB and the post clean it up (backup takes a tar of the folder).

source
Sort:hotnewtop