Postgresql – run psql commands in docker compose
I have a docker compose file, which spins up postgres db. How can I run some psql commands after this container is started? This is what I'm trying to run: createuser postgres createdb DB createdb TEST_DB psql -d DB -c…