Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Moodle App Docker Images: Difference between revisions

From MoodleDocs
mNo edit summary
No edit summary
Line 18: Line 18:


<code>docker run --rm -p 8100:8100 moodlehq/moodleapp:latest</code>
<code>docker run --rm -p 8100:8100 moodlehq/moodleapp:latest</code>
Specific version and latest stable images are created via Docker integration with GitHub every time a new version of the Moodle app is tagged.


== Nightly build of the next release ==
== Nightly build of the next release ==
Line 24: Line 26:


<code>docker run --rm -p 8100:8100 moodlehq/moodleapp:next</code>
<code>docker run --rm -p 8100:8100 moodlehq/moodleapp:next</code>
Nightly build images are created via Jenkins every time something new is integrated into the "integration" branch of the [http://github.com/moodlehq/moodleapp/ moodleapp GitHub repository].


=== Ionic 5 experimental version ===
=== Ionic 5 experimental version ===

Revision as of 08:12, 28 April 2021

Setting up the environment using Docker

(For this to work, you must have a Docker installation and know roughly how to use it.)

You can run the app using a Docker image provided by Moodle HQ, with commands like these:

Specific version

You can run an specific version of the app using the version number as a tag. Only avalaible from 3.6.0 onwards.

Example:

docker run --rm -p 8100:8100 moodlehq/moodleapp:3.6.0

Latest stable version

This is the stable version that you will find in the stores.

docker run --rm -p 8100:8100 moodlehq/moodleapp:latest

Specific version and latest stable images are created via Docker integration with GitHub every time a new version of the Moodle app is tagged.

Nightly build of the next release

This is the development version that is not stable and is constantly updated. Due to ionic5 migration this is currently equivalent to the latest version.

docker run --rm -p 8100:8100 moodlehq/moodleapp:next

Nightly build images are created via Jenkins every time something new is integrated into the "integration" branch of the moodleapp GitHub repository.

Ionic 5 experimental version

We are currently working on migrating our code to Ionic5. We've created a new temporary tags while developing.

docker run --rm -p 8100:80 moodlehq/moodleapp:ionic5

And another one for behat testing:

docker run --rm -p 8100:80 moodlehq/moodleapp:ionic5-test

Note that the port binding is now using port 80, this is because now it uses an standard http server instead of nodeJS. This is a quicker image.

Both will be renamed or deleted when Ionic5 version is stable.