sameersbn / docker-postgresql

Dockerfile to build a PostgreSQL container image which can be linked to other containers.
MIT License
1.05k stars 467 forks source link

Split config from data files #94

Open PhillippOhlandt opened 7 years ago

PhillippOhlandt commented 7 years ago

Hey,

how am I supposed to split the config files from the actual data files? I would like to have them in separate folders so I can mount them individually or copy the config files into the image when I build my own.

I already set the PG_DATADIR ENV variable but that also moves the config files.