Replies: 2 comments 1 reply
-
( as a user ) Here are the steps to follow: 1.) Add an Initialization Script: ( 2.) Configure Docker Compose::
This example is based on a solution found on Stack Overflow ( https://stackoverflow.com/a/61729115/20859909 ) |
Beta Was this translation helpful? Give feedback.
-
@ImreSamu Thanks for the comment. Shell script will work perfectly! Improvement-wise - would it be possible and would we want to update the image itself, to accept multiple values via POSTGRES_USER? Also what do you mean by this?
Thanks again! |
Beta Was this translation helpful? Give feedback.
-
Given a simple docker-compose
What is the suggest approach for creating multiple users? Ideally with the logic in docker-compose alone. Or if not possible, perhaps with a sh script, but without custom Dockerfiles.
Beta Was this translation helpful? Give feedback.
All reactions