36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
# Originally sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
|
#
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
identity:
|
|
image: alfresco/alfresco-identity-service:${AIS_TAG}
|
|
user: jboss
|
|
environment:
|
|
KEYCLOAK_USER: admin
|
|
KEYCLOAK_PASSWORD: admin
|
|
KEYCLOAK_FRONTEND_URL: ${IDENTITY_SERVICE_PROTOCOL}://${IDENTITY_SERVICE_HOST}:${IDENTITY_SERVICE_PORT}/auth
|
|
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
|
KEYCLOAK_STATISTICS: enabled
|
|
networks:
|
|
default:
|
|
aliases:
|
|
- "${IDENTITY_SERVICE_HOST}"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:8080/auth/realms/alfresco"]
|
|
interval: 10s
|
|
timeout: 10s
|
|
# Really long startup times on Windows
|
|
retries: 18
|
|
volumes:
|
|
- ./keycloak-alfresco-realm.json:/tmp/keycloak-alfresco-realm.json:ro
|
|
|
|
proxy:
|
|
build: ./nginx-ingress
|
|
image: local/nginx-ingress:aims
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- identity
|