{"id":13725828,"url":"https://github.com/apereo/cas-webapp-docker","last_synced_at":"2025-05-07T21:30:29.587Z","repository":{"id":66516863,"uuid":"72382298","full_name":"apereo/cas-webapp-docker","owner":"apereo","description":"Apereo CAS Server web application running inside a docker container.","archived":true,"fork":false,"pushed_at":"2019-05-06T00:59:29.000Z","size":149,"stargazers_count":117,"open_issues_count":11,"forks_count":88,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-11-14T16:44:44.223Z","etag":null,"topics":["apereo","apereo-cas","authentication","cas-server","cloud","containers","docker","sso"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/apereo/cas/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apereo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-30T23:37:41.000Z","updated_at":"2024-08-31T12:31:05.000Z","dependencies_parsed_at":"2023-02-20T19:46:14.636Z","dependency_job_id":null,"html_url":"https://github.com/apereo/cas-webapp-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apereo%2Fcas-webapp-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apereo%2Fcas-webapp-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apereo%2Fcas-webapp-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apereo%2Fcas-webapp-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apereo","download_url":"https://codeload.github.com/apereo/cas-webapp-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252957006,"owners_count":21831420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apereo","apereo-cas","authentication","cas-server","cloud","containers","docker","sso"],"created_at":"2024-08-03T01:02:36.653Z","updated_at":"2025-05-07T21:30:29.290Z","avatar_url":"https://github.com/apereo.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Central Authentication Service (CAS) [![License](https://img.shields.io/hexpm/l/plug.svg)](https://github.com/Jasig/cas/blob/master/LICENSE)\n\n## Introduction\n\nThis repository hosts the [Docker](https://www.docker.com/) build configuration necessary to build a [CAS](https://github.com/apereo/cas) image. See the `Dockerfile` for more info.\n\n## Versions\n\nA docker image for CAS server. Images are tagged to match CAS server releases.\n\n## Requirements\n\n* Docker version `1.9.x` ~ `18.x`\n\n## Configuration\n\n### Image\n\n* The image will be available on the host via ports `8080` and `8443`\n* You must check the `Dockerfile` to ensure the right branch from the [CAS overlay project](https://github.com/apereo/cas-overlay-template) is pulled/cloned.\n* Check the [CAS overlay project](https://github.com/apereo/cas-overlay-template) itself to figure out the targetted CAS release.\n\n### SSL\n\n* Update the `thekeystore` file with the server certificate and chain if you need access the CAS server via HTTPS. \n* The password for the keystore is `changeit`.\n* The build will automatically copy the keystore file to the image. The embedded container packaged in the overlay is pre-configured to use that keystore for HTTPS requests.\n\n```bash\nkeytool -genkeypair -alias cas -keyalg RSA -keypass changeit \\\n        -storepass changeit -keystore ./thekeystore \\\n        -dname \"CN=cas.example.org,OU=Example,OU=Org,C=AU\" \\\n        -ext SAN=\"dns:example.org,dns:localhost,ip:127.0.0.1\"\n```\n\n...and add `cas.example.org` to your hosts file:\n\n```bash\n# echo '127.0.0.1 cas.example.org' \u003e\u003e /etc/hosts\n```\n\nBe sure to adjust the above values to match your CAS domain.\n\n### CAS Configuration\n\nThe build will also auto-copy configuration files under the `etc/cas` directory to the corresponding locations inside the image.\n\n## Build [![](https://badge.imagelayers.io/apereo/cas:latest.svg)](https://imagelayers.io/?images=apereo/cas:latest 'apereo cas')\n\n**NOTE:** On windows, you may want to run `bash` first so you can execute shell scripts.\n\n```bash\n./build.sh $CasVersion\n```\n\nThe image will be built as `apereo/cas:v$CasVersion`.\n\n## Run\n\n```bash\n./run.sh $CasVersion\n```\n\n## Release\n\n* New images shall be released at the time of a new CAS server release.\n* Image versions are reflected in the `build|run.sh` files and need to be updated per CAS/Image release.\n* Images are published to [https://hub.docker.com/r/apereo/cas/](https://hub.docker.com/r/apereo/cas/)\n\n```bash\n./push.sh $CasVersion\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapereo%2Fcas-webapp-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapereo%2Fcas-webapp-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapereo%2Fcas-webapp-docker/lists"}