Change postgres port in docker-compose of dcm4che-arc-light

426 views
Skip to first unread message

Padmesh Kunwar

unread,
Aug 26, 2021, 6:40:10 AM8/26/21
to dcm4che
Hi,

I have a postgres 9.6 already running on my host which is using port 5432. I wanted to run dcm4che-arc-light in docker container using docker-compose so to avoid port conflict I changed port binding for "db" to 5433:5432 and added "POSTGRES_PORT=5433" in docker-compose.env but still gettin postgres connection error in dcm4chee-arc-ui.

Please help with any extra changes requires to do so.

Padmesh Kunwar

unread,
Aug 27, 2021, 1:49:15 AM8/27/21
to dcm4che
Any thoughts on this? @dcm4chee community

Furkan

unread,
Aug 27, 2021, 9:54:40 AM8/27/21
to dcm4che
I used with external PostgresDB but not like as your case.
Did you try to add POSTGRES_HOST=localhost or host's IP ?

27 Ağustos 2021 Cuma tarihinde saat 08:49:15 UTC+3 itibarıyla Padmesh Kunwar şunları yazdı:

Vrinda Nayak

unread,
Aug 30, 2021, 4:59:53 AM8/30/21
to dcm4che
Have you also changed the port information in archive container's WILDFLY_WAIT_FOR environment variable?

Padmesh Kunwar

unread,
Aug 31, 2021, 1:04:01 AM8/31/21
to dcm4che
Yes I tried changing that to 5433 in addition to postgres binding port, but in that case the dcm4chee-arc-ui was not accessible.So I reverted it back to 5432.

Is it that for changing postgres port we will have to change port individually in connection URL's pf dcm4chee-arc-light?
Reply all
Reply to author
Forward
0 new messages