Provides a universal docker image that can be used across different setups.
Based on the jboss/keycloak image, all parameters and environment variables are supported.
Contents:
- Dockerfile
- docker-compose.yml
- alfresco keycloak theme
- alfresco-realm.json
The realm file is already included into the image, but you can customise it by providing external configuration file.
npm run build
npm start
Visit http://localhost:8081
to see the instance up and running.
Visit http://localhost:8081/auth/realms/alfresco/account
to check the theme.
docker-compose up
Visit http://localhost:8081
to see the instance up and running.
Visit http://localhost:8081/auth/realms/alfresco/account
to check the theme.
docker run --rm -p 8081:8080 && \
-e KEYCLOAK_USER=admin && \
-e KEYCLOAK_PASSWORD=admin && \
-e KEYCLOAK_IMPORT=/tmp/alfresco-realm.json && \
alfresco/identity-service
auth:
image: denysvuika/alfresco-identity-service:latest
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- KEYCLOAK_IMPORT=/tmp/alfresco-realm.json
- DB_VENDOR=h2
ports:
- 8081:8080