paunin / PostDock

PostDock - Postgres & Docker - Postgres streaming replication cluster for any docker environment
MIT License
1.11k stars 339 forks source link

Feature request: REPLICATION_PASSWORD_FILE #235

Open HernanMora opened 5 years ago

HernanMora commented 5 years ago

First of all, excellent work!

PostgreSQL allows you to configure passwords using the Docker secrets. For example: POSTGRES_PASSWORD_FILE.

Can the same thing be done with REPLICATION_PASSWORD?

Regards!

HernanMora commented 5 years ago

Sorry,

To be more clear, the following environment variables should be added:

postgresql

barman

pgpool

Regards!

Tirzono commented 5 years ago

It would also make sense to then add REPLICATION_USER_FILE, POSTGRES_USER_FILE and PCP_USER_FILE, as one might want to move those to secrets as well.