docker-postgresql-multiple-databases icon indicating copy to clipboard operation
docker-postgresql-multiple-databases copied to clipboard

Add example to many users

Open nxexox opened this issue 7 years ago • 2 comments

Hi. In your example, there is one significant drawback. If the user or database named "$database" exists, then the script will simply stop and stop working, and the container start will hang. Let's say we did not delete the container, but simply we rebuild through the docker-compose. In my example, this is eliminated, and added it is possible, to register users and passwords explicitly. What makes creating multiple databases more flexible and convenient. People can immediately take an example, and not write, as I did.

nxexox avatar Jan 31 '18 07:01 nxexox

Thanks! I'll take a look and think about it.

mrts avatar Feb 01 '18 14:02 mrts

Hi) Have you looked? It seems a long time has passed)

nxexox avatar Jul 20 '18 07:07 nxexox