The prebuilt docker images are available from the docker hub at `mathinstitut/goemaxima:[version]-latest`.
The prebuilt docker images are available from the docker hub at `mathinstitut/goemaxima:[version]-latest`.
To use it, you first have to know what stackmaxima version you need.
Note that this is different from the moodle stack version, ilias stack version and maxima version.
The needed stackmaxima version can be seen in the ["What Stackmaxima version do I need?"](#what-stackmaxima-version-do-i-need) section.
They can be simply run with docker-compose in the top-directory of the repository (setting the `STACKMAXIMA_VERSION` to the desired value):
They can be simply run with docker-compose in the top-directory of the repository (setting the `STACKMAXIMA_VERSION` to the desired value):
```
```
export STACKMAXIMA_VERSION=...
export STACKMAXIMA_VERSION=...
...
@@ -45,7 +49,7 @@ The port of the server inside the container is `8080` and the path that has to b
...
@@ -45,7 +49,7 @@ The port of the server inside the container is `8080` and the path that has to b
Some older versions of the image accept only `http://[address:port]/maxima` and this url should work in newer versions as well.
Some older versions of the image accept only `http://[address:port]/maxima` and this url should work in newer versions as well.
Stack expects a maxima version to be set in the settings.
Stack expects a maxima version to be set in the settings.
You can find out which maxima version to use for a particular `STACKMAXIMA_VERSION` by taking a look at the second column of the `versions` file at the root of this repository.
You can find out which maxima version to use for a particular `STACKMAXIMA_VERSION` by taking a look at the last column in the ["What Stackmaxima version do I need?"](#what-stackmaxima-version-do-i-need) section
If you do not wish to use the docker-compose configuration, you can also run the image with
If you do not wish to use the docker-compose configuration, you can also run the image with
```
```
...
@@ -61,6 +65,28 @@ The process startup time for a single request is a few milliseconds and negligib
...
@@ -61,6 +65,28 @@ The process startup time for a single request is a few milliseconds and negligib
For advanced users, one can also deploy the image in kubernetes by using the helm chart provided in the `helmmaxima` directory.
For advanced users, one can also deploy the image in kubernetes by using the helm chart provided in the `helmmaxima` directory.
What Stackmaxima version do I need?
===================================
| Ilias Stack Version | Moodle Stack Version | Stackmaxima version | Included Maxima version |