31 lines
954 B
YAML
31 lines
954 B
YAML
# 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"
|
|
|
|
services:
|
|
|
|
identity:
|
|
image: alfresco/alfresco-identity-service:1.3
|
|
user: jboss
|
|
environment:
|
|
KEYCLOAK_USER: admin
|
|
KEYCLOAK_PASSWORD: admin
|
|
KEYCLOAK_HOSTNAME: auth.example.org
|
|
KEYCLOAK_IMPORT: /tmp/keycloak-alfresco-realm.json
|
|
KEYCLOAK_STATISTICS: enabled
|
|
networks:
|
|
default:
|
|
aliases:
|
|
- "auth.example.org"
|
|
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
|