I'm trying to configure a database container (PostgreSQL) and I want to configure some database settings by running SQL commands against the started instance. The RUN command in a dockerfile runs BEFORE the database launches.
I guess I could create a script to first stand up the docker instances then push out the configuration, but that's neither portable nor elegant.
Is there a way to somehow configure RUN commands or similar to run AFTER the container instance starts?
Thanks in advance for your help.