Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2362

Re: Web service running in Docker connecting to Moodle running in Docker

$
0
0
by Matteo Scaramuccia.  

Hi Ning,
what is the Moodle image your container is running from?

From the error (localhost:8000), I'm guessing you're using https://github.com/moodlehq/moodle-docker/ .

If confirmed, you can configure both host and port via MOODLE_DOCKER_WEB_HOST and MOODLE_DOCKER_WEB_PORT, respectively.
Just configure them using the IP of the host and the port exposed to the host i.e. what expected by your client.

HTH,
Matteo


Viewing all articles
Browse latest Browse all 2362

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>