dockerfiles icon indicating copy to clipboard operation
dockerfiles copied to clipboard

feat(postgres-backup-s3): update AWS CLI to v2; allow support for mul…

Open opichon opened this issue 4 years ago • 2 comments

…tiple databases; allow support for defining sensitive env vars in files (eg Docker secrets)

AWS CLI updated to v2; python removed; glibc added Added support for multiple databases (note POSTGRES_DATABASE env var is deprecated and replaced by POSTGRES_DATABASES) -- this means this version of the docker image is not backward-compatible with previosu releases. Added support for _FILE env vars for sensitive values. This allows using the image with Docker secrets.

For example,

service:
  postgres-backup
    environment:
      POSTGRES_PASSWORD_FILE=/run/secrets/postgres-password
      ...
    secrets:
      - postgres-password

opichon avatar May 02 '21 08:05 opichon

@opichon could you rebase this on master so I could take a look?

iloveitaly avatar Aug 14 '23 17:08 iloveitaly