JS application I assume you have installed. Luis Mendoza on Docker-postgres-run-sql-script biretamer. I also have a bash script that is a wrapper around OpenSSL and makes it easy. Create and Connect to a New Docker Network. Docker Postgresql Multiple Databases ⭐ 187. d/* Run sql script in postgres Lens of Liberty. You can use Docker Compose to configure the Postgres as a service running inside of a container.Now run the following command from the same directory where the docker-compose.You may be asking, There is no ENTRYPOINT or COMMAND, how do we run it on start-up? - the answer is, that base postgres image runs on start any scripts present in docker-entrypoint-initdb. Docker postgres run sql script Select all the files in the directory (dockerfile, any script files) and then Open.