Hello All ,
My working environment is
ubuntu 20.04 LTS
Docker Desktop set for wsl2
I wanted to run sql scripts right from a docker-compose.yml in order to populate a new postgres DB.None of the examples I found worked . Finally I solved my issue following an excellent post by Mr gforghetti(How to runnig sql script file - #3 by gforghetti).Since the topic has been closed for 3 years my question is the following ,
Is there now a way to include an initial sql script execution directly in a docker compose file or has it still to be a manual process as detailed by Mr gforghetti ?