Replies: 1 comment 18 replies
-
Hi thanks for reaching out! From the description it sounds to me like the API container lacks connection with the running MongoDb instance. If you are running something similar to the file
In the second type of setup where you can run all three containers in the same network (and all three are defined as services in the same
I hope this was helpful, but if the issue was not about connectivity and lies elsewhere, we can try to help locate the issue just let us know. We will then need your docker-compose setup and/or config.json without credentials so that we could try to replicate the error and find a solution. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm strugling a bit to connect the back end to the database when running in dockers.
I have created 3 docker containers. witsmlexplorer-db, witsmlexplorer-frontend-dev and witsmlexplorer-api-dev.
I'm able to reach the front end gui but I can't save servers or read from DB.
But when I stopped the witsmlexplorer-api-dev container and started it localy using "dotnet" everything worked as it should. I was able to connect to Sitecom, save the server in DB and browse the WITSML.
So I guess i must have missconfigured something in my docker container?
The first error message I get when reloading the front end is the following:
I'm running all on my laptop, with Windows 11, .net 7.0 and Docker Desktop.
I would be glad to receive any hints on what I need to check to get this up and running in docker. It seems like the front end is talking to the back end, but there it stops.
Thanks.
Alf Ove Røyland
Wells Data Management Advisor
ConocoPhillips
Beta Was this translation helpful? Give feedback.
All reactions