jembi / openhim-console

A webapp that provides a management console for the OpenHIM
http://openhim.org/
Mozilla Public License 2.0
12 stars 28 forks source link

how to configure docker-compose to use domain name instead of localhost #615

Closed satyadeep-ih closed 1 year ago

satyadeep-ih commented 1 year ago

Hi,

I pulled docker-compose.yml from https://github.com/jembi/openhim-core-js/blob/master/infrastructure/docker-compose.yml, and the docker containers are up, however when I am hitting my-domain:9000 , it is giving error while trying to connect to https://localhost:8080 and this is working fine when I am hitting my-domain:8080. Can someone suggest me how to change this localhost to my-domain as I do not see this in docker-compose.yml

Thanks admin-console-openhim

working-correctly-with-domain-name not-working-with-localhost

My domain is revamp.intelehealth.org

arran-standish commented 1 year ago

Under the openhim-console section of the compose file, you can add an environment section to override the two environment variables:

Which will then have the frontend try and route to your domain instead of localhost