# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml # # Using version 2 as 3 does not support resource constraint options (cpu_*, mem_* limits) for non swarm mode in Compose version: "2.1" services: identity: image: alfresco/alfresco-identity-service:1.3 user: jboss environment: KEYCLOAK_USER: admin KEYCLOAK_PASSWORD: admin KEYCLOAK_HOSTNAME: ${IDENTITY_SERVICE_HOST} 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"] 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