This repo uses the excellent Bitnami Docker images, which come with many different configuration options
Please refer https://github.com/bitnami/bitnami-docker-moodle for configuration parameters
The content of this repo will allow a quick and dirty environment to be stoodup to test out CodeRunner inside of Docker. This allows for a super basic environment to be stood up and torn down in order to try out new ideas and concepts.
- Edit the docker-compose.yml file to make any alterations as desired
- Ensure Docker is running, and navigate to the containing directory with your prefered shell
- Run
docker-compose upto create the environment. (NB: If you have modified the Dockerfile the commanddocker-compose up --buildwill force the image to be built again) - Navigate to localhost and check things out (login credentials are user with password of bitnami, as per the base Bitnami image)
- Switch the CodeRunner Jobe configuration over to using the created Docker container. This can be done by going to the relevant configuration page and switching the setting for
Jobe serverto simply point to jobe (the container name, rather than the default jobe2.cosc.canterbury.ac.nz), which will use Docker name resolution to access - Follow the standard guide to configure Coderunner as per the creators Github details
- Try it all out. You should now have a nice, minimal Code Runner environment ready to go that functions as expected