erseco / alpine-moodle

Moodle docker image based on Alpine Linux
https://hub.docker.com/r/erseco/alpine-moodle
MIT License
44 stars 34 forks source link

how to config url #19

Closed nandarmath closed 2 years ago

nandarmath commented 2 years ago

how to config url/ip to acces moodle from other device??

lupa18 commented 2 years ago

Hi @nandar1305,

What is your need exactly? Are you using docker compose? Where is your deployment, local machine or an online service?

There is a environment variable called SITE_URL that you can use to config URL.

erseco commented 2 years ago

As @lupa18 says, please explain a little what are you trying to do, because the possibilities are unlimited :)

nandarmath commented 2 years ago

Hi @nandar1305,

What is your need exactly? Are you using docker compose? Where is your deployment, local machine or an online service?

There is a environment variable called SITE_URL that you can use to config URL.

i use in docker-compose, and want to acces moodle from other device offline from my laptop.

erseco commented 2 years ago

In that case, you just need to enter to your device by its IP address: http://:8080

It is possible that you need to open the 8080 port in your firewall to access it, but this is more related to your system configuration and not about the moodle install, so I will close the issue. Best!