23
docker/cas/docker-compose.yml
Normal file
23
docker/cas/docker-compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.8'
|
||||
|
||||
networks:
|
||||
samples:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
cas:
|
||||
image: apereo/cas:6.6.6
|
||||
container_name: cas
|
||||
restart: always
|
||||
ports:
|
||||
- "8090:8080"
|
||||
command: >
|
||||
--cas.standalone.configuration-directory=/etc/cas/config
|
||||
--server.ssl.enabled=false
|
||||
--server.port=8080
|
||||
--cas.service-registry.core.init-from-json=true
|
||||
--cas.service-registry.json.location=file:/etc/cas/services
|
||||
volumes:
|
||||
- ./services/http-1.json:/etc/cas/services/http-1.json
|
||||
networks:
|
||||
- samples
|
||||
8
docker/cas/services/http-1.json
Normal file
8
docker/cas/services/http-1.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"@class": "org.apereo.cas.services.CasRegisteredService",
|
||||
"serviceId": "^(https?)://.*",
|
||||
"name": "HTTP/HTTPS",
|
||||
"id": 1,
|
||||
"description": "This service definition authorizes all application urls that support HTTP and HTTPS protocols.",
|
||||
"evaluationOrder": 10000
|
||||
}
|
||||
Reference in New Issue
Block a user