Skip to content

Sample deployment for Alfresco Community 7.1 with Alfresco Identity Service 1.6

License

Notifications You must be signed in to change notification settings

aborroy/alfresco-community-aims

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Deployment for Alfresco Community with Alfresco Identity Service (AIMS)

Alfresco Identity Service, based in Open Source Identity and Access Management Keycloak, is available for both Community and Enterprise ACS releases.

When using Alfresco Identity Service, different Alfresco Authentication Mechanims can be configured.

This project provides a sample Docker Compose template for Alfresco Community 7.1 with Alfresco Identity Service 1.6. Note that deploying the product in production environments would require additional configuration.

Docker Compose

Docker Compose template includes following files:

.
├── .env
├── config
│   ├── alfresco-realm.json
│   └── nginx.conf
├── docker-compose.yml
└── search
    └── Dockerfile
  • docker-compose.yml is a regular ACS Docker Compose, including Alfresco Identity Service for Authentication
  • config/alfresco-realm.json includes a sample configuration for Alfresco Identity Service, since you can create your own configuration using the Keycloak Admin Web Page
  • config/nginx.conf includes configuration for the NGINX Web Proxy
  • search/Dockerfile is an extension for Alfresco Search Services Docker Image
  • .env includes Docker Image tag names and a HOST_IP variable (remember to add your local computer IP to this property before running the project)

Using

Note: Add your local computer IP to .env variable HOST_IP before running Docker Compose.

$ docker-compose up --build --force-recreate

Service URLs

http://localhost:8080/

ACA

  • user: admin
  • password: admin

http://localhost:8080/share

Share

  • user: admin
  • password: admin

http://localhost:8080/alfresco

Alfresco Repository

  • user: admin
  • password: admin

http://localhost:8999

Keycloak

  • user: admin
  • password: admin

Default configuration for AIMS

Users

  • admin / admin
  • test / admin

Roles

  • test_role
  • default-roles-alfresco

Groups

  • admin
  • testgroup

Additional resources

Additional information on Alfresco Identity Service configuration is available in https://docs.alfresco.com/identity-service/latest/

For instance, following properties can be used from alfresco-global.properties

identity-service.authentication.enabled=
identity-service.enable-basic-auth=
identity-service.authentication.defaultAdministratorUserNames=
identity-service.authentication.validation.failure.silent=
identity-service.auth-server-url=
identity-service.realm=
identity-service.resource=
identity-service.public-client=
identity-service.ssl-required=
identity-service.enable-pkce=
identity-service.credentials.secret=
identity-service.credentials.provider=

Tutorials on how to configure different Authetication Subsystems are available in:

Related projects

If you want to discover some other features that can be used with Keycloak, check this Community project:

https://github.com/Acosix/alfresco-keycloak

Additional details are provided by @AFaust in TTL #133: https://www.alfresco.com/events/webinars/tech-talk-live-133

About

Sample deployment for Alfresco Community 7.1 with Alfresco Identity Service 1.6

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published