Martlark / pg_dump

Docker image for scheduled dump of PostGres SQL files with automatic retention and removal
Apache License 2.0
22 stars 14 forks source link

Upgrades #6

Closed bconn98 closed 1 year ago

bconn98 commented 2 years ago

Hello,

I used your repository as a starting point for creating my own flavor with the same ability. My version has several improvements that I wanted to offer you. There may be more that I'm missing but I think these are several very useful inclusions.

  1. Running as the non root user (more secure)
  2. Runs within the same container as the active database (fewer running containers)
  3. The ability to define a different dump directory.
  4. Loading docker secrets for the password

If you're interested I can include them in a pull request.