Closed m0squito closed 1 year ago
Hi Jakub, It's a Docker networking thing - if you're using Docker-compose to launch the services, you'll want to change the uses of localhost to the appropriate service name as the Docker networking will treat the service name as a hostname. If you create a service named 'postgres', then other containers (eg. mms) can reach the 5432 port via jdbc:postgres:5432. For the default network mode being 'bridge'. IHTH. You'll definitely want to read the Docker docs on container networking, both for docker-compose & for containers launch via 'docker run'. Good information. 1 such url is https://docs.docker.com/network/#network-drivers - brief introduction.
Hi,
I'm trying to run OpenMBEE using the docker image (via Docker Hub), per Wiki instructions. When I run the container, I get connection refused errors when Spring is trying to connect to PostrgresSQL. I have no experience with Docker and am not quite sure where/how I should troubleshoot this problem. Any help would be greatly appreciated.
Here's what I get in the command line when I run the container:
My host machine is an M1-based MacBook Pro.