Open Ebeid opened 6 years ago
I used to the following command on my macOS High Sierra
docker run --name pacs-postgres \ -p 5432:5432 \ -e POSTGRES_DB=pacsdb \ -e POSTGRES_USER=pacsuser \ -e POSTGRES_PASSWORD=pacspassword \ -v /Users/ebeid/dcm4chee-arc/db:/var/lib/postgresql/data \ -d dcm4che/postgres-dcm4chee:10.0-12
but I'm unable to connect to that running container from my app or from pgAdmin. These are my application.properties values:
spring.datasource.url=jdbc:postgresql://localhost:5432/pacsdb spring.datasource.username=pacsuser spring.datasource.password=pacspassword spring.datasource.driver-class-name=org.postgresql.Driver
and this what I used for pgAdmin:
What should be the values ?
Thanks, Ebeid
I used to the following command on my macOS High Sierra
but I'm unable to connect to that running container from my app or from pgAdmin. These are my application.properties values:
and this what I used for pgAdmin:
What should be the values ?
Thanks, Ebeid