You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before this change the moodle-app was always put onto port 8100, this makes it impossible to
have multiple instances of moodle-docker running if they also have a copy of the app running.
After this change while be default nothing should change you may now select the exposed port,
or disable it altogether using MOODLE_DOCKER_APP_PORT
Before this change MOODLE_DOCKER_APP_PORT was used internally to select the source port for
the app, this is now done using MOODLE_DOCKER_APP_INTERNAL_PORT because that name fits better
with the other environment variables that let the user set the port available on the host.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -229,6 +229,7 @@ When you change them, use `bin/moodle-docker-compose down && bin/moodle-docker-c
229
229
|`MOODLE_DOCKER_SELENIUM_VNC_PORT`| no | any integer value (or bind_ip:integer)| not set | If set, the selenium node will expose a vnc session on the port specified. Similar to MOODLE_DOCKER_WEB_PORT, you can optionally define the host IP to bind to. If you just set the port, VNC binds to 127.0.0.1 |
230
230
|`MOODLE_DOCKER_APP_PATH`| no | path on your file system | not set | If set and the chrome browser is selected, it will start an instance of the Moodle app from your local codebase |
231
231
|`MOODLE_DOCKER_APP_VERSION`| no | a valid [app docker image version](https://docs.moodle.org/dev/Moodle_App_Docker_images)| not set | If set will start an instance of the Moodle app if the chrome browser is selected |
232
+
|`MOODLE_DOCKER_APP_PORT`| no | any integer value | 8100 | The app will be served on this port, 0 will mean the app is not available on the host machine |
232
233
|`MOODLE_DOCKER_TIMEOUT_FACTOR`| no | any integer value | 1 | If set the timeouts in behat will be multiplied by the factor |
233
234
234
235
In addition to that, `MOODLE_DOCKER_RUNNING=1` env variable is defined and available
0 commit comments