I have one container of springboot application on docker,and one container of postgres with all the settings.How can I run both of them by linking them together. The image springboot-postgresql corresponds to spring boot application,and postgres refers to postgresql. Postgres is listening to 0.0.0.0,port 5432.
Please suggest,if there's another way other than making a .yml file and using docker compose up .
Thanks for the help.
