57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
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:
|
|
activiti-app:
|
|
image: alfresco/process-services:latest
|
|
environment:
|
|
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
|
|
ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps
|
|
depends_on:
|
|
- postgres-aps
|
|
volumes:
|
|
- "$LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro"
|
|
|
|
activiti-admin:
|
|
image: alfresco/process-services-admin:latest
|
|
environment:
|
|
ACTIVITI_ADMIN_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps-admin:5432/activiti?characterEncoding=UTF-8'
|
|
ACTIVITI_ADMIN_REST_APP_HOST: http://activiti-app
|
|
depends_on:
|
|
- postgres-aps-admin
|
|
- activiti-app
|
|
volumes:
|
|
- ./activiti-admin.properties:/usr/local/tomcat/lib/activiti-admin.properties
|
|
|
|
postgres-aps:
|
|
image: postgres:latest
|
|
|
|
postgres-aps-admin:
|
|
image: postgres:latest
|
|
|
|
search-aps:
|
|
image: elasticsearch:latest
|
|
container_name: elasticsearch
|
|
environment:
|
|
- node.name=elasticsearch
|
|
- cluster.name=aps-es-cluster
|
|
- cluster.initial_master_nodes=elasticsearch
|
|
- bootstrap.memory_lock=true
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
depends_on:
|
|
- activit-app
|
|
|
|
proxy:
|
|
build: ./nginx-ingress
|
|
image: local/nginx-ingress:acs
|
|
ports:
|
|
- 8080:8080
|
|
depends_on:
|
|
- platform
|