This is a fork of the apereo/cas Docker image which works out of the box.
399
This is a fork of the apereo/cas Docker image which works out of the box.
To run:
docker run --rm --name cas -p 8443:8443 -dt moodlehq/moodle-docker-cas
The image comes with a set of users out of the box:
The password for all users is test.
Users can be added by modifying the /etc/cas/users/list file within the image, or you can mount a volume to modify them locally:
docker run --rm --name cas -p 8443:8443 -dt --mount 'type=volume,src=/path/to/users,dst=/cas-overlay/etc/cas/users' moodlehq/moodle-docker-cas
This image just maintains a flat file of users. It does not provide the means to create users in Moodle. You will need to create users and set their authentication mechanism to cas for this to work.
$CFG->forced_plugin_settings = [ 'auth_cas' => [ // CAS is only one of the enabled options for authentication. 'multiauth' => 1, 'hostname' => 'localhost', 'baseuri' => 'cas/', 'port' => '8443', 'logoutcas' => 1, 'logout_return_url' => $CFG->wwwroot, ], ];
Content type
Image
Digest
sha256:415e2fd72…
Size
1.2 GB
Last updated
about 2 years ago
docker pull moodlehq/moodle-docker-cas:dev