I'm trying to create a Docker Compose that can start an Orthanc and PostgreSQL containers. I currently am able to start both of the containers using Docker Compose, but I am unable to connect Orthanc to PostgreSQL. The main issue I'm having is creating the a database within PostgreSQL. Whenever I start the Docker Compose, it says that the database does not exist. I tried to follow this guide:
https://graspingtech.com/docker-compose-postgresql/. I think the issue is with the 01-init.sh script since it is what is supposed to create the database, but it doesn't seem to be doing that. Does anyone have an idea of why it isn't working or what I can do to fix it? Thank you.