Compare commits
13 Commits
propagate/
...
aps-search
Author | SHA1 | Date | |
---|---|---|---|
eb8df1a86f | |||
3fee42cd28 | |||
25e6137de9 | |||
e0e190d987 | |||
fc8a854920 | |||
7e526e0e1e | |||
241a3e47ea | |||
c2a9679ede | |||
dd967a17f2 | |||
27a818fd22 | |||
9e1a819e8b | |||
10e7f81163 | |||
2d91d8bc08 |
4
.env
4
.env
@@ -4,3 +4,7 @@ ALFRESCO_LICENSE_DIR=~/alfresco/license
|
||||
PROXY_PROTOCOL=http
|
||||
PROXY_HOST=localhost
|
||||
PROXY_PORT=8080
|
||||
|
||||
APS_TAG=2.4.1
|
||||
POSTGRES_TAG=13
|
||||
ELASTICSEARCH_TAG=7.17.13
|
||||
|
@@ -1,97 +1,53 @@
|
||||
# Sourced from https://github.com/Alfresco/acs-deployment/blob/4.0.3/docker-compose/docker-compose.yml
|
||||
# Originally 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"
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
|
||||
activiti-app:
|
||||
image: alfresco/process-services:1.11.1.1
|
||||
mem_limit: 512m
|
||||
image: quay.io/alfresco/alfresco-process-services:${APS_TAG}
|
||||
environment:
|
||||
ACTIVITI_DATASOURCE_USERNAME: alfresco
|
||||
ACTIVITI_DATASOURCE_PASSWORD: alfresco
|
||||
ACTIVITI_DATASOURCE_DRIVER: org.postgresql.Driver
|
||||
ACTIVITI_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
|
||||
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
|
||||
ACTIVITI_ES_SERVER_TYPE: rest
|
||||
ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps
|
||||
ACTIVITI_ES_REST_CLIENT_PORT: 9200
|
||||
ACTIVITI_ES_REST_CLIENT_SCHEMA: http
|
||||
JAVA_OPTS: "-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
|
||||
depends_on:
|
||||
- postgres-aps
|
||||
- search-aps
|
||||
volumes:
|
||||
- "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro"
|
||||
- apsbin-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
activiti-admin:
|
||||
image: alfresco/process-services-admin:1.11.1.1
|
||||
mem_limit: 256m
|
||||
image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG}
|
||||
environment:
|
||||
ACTIVITI_ADMIN_DATASOURCE_USERNAME: alfresco
|
||||
ACTIVITI_ADMIN_DATASOURCE_PASSWORD: alfresco
|
||||
ACTIVITI_ADMIN_DATASOURCE_DRIVER: org.postgresql.Driver
|
||||
ACTIVITI_ADMIN_HIBERNATE_DIALECT: org.hibernate.dialect.PostgreSQLDialect
|
||||
ACTIVITI_ADMIN_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps-admin:5432/activiti-admin?characterEncoding=UTF-8'
|
||||
ACTIVITI_ADMIN_REST_APP_HOST: http://activiti-app
|
||||
ACTIVITI_ADMIN_REST_APP_PORT: 8080
|
||||
JAVA_OPTS: "-XX:MinRAMPercentage=50 -XX:MaxRAMPercentage=80"
|
||||
depends_on:
|
||||
- postgres-aps-admin
|
||||
- activiti-app
|
||||
|
||||
postgres-aps:
|
||||
image: postgres:11.6
|
||||
mem_limit: 256m
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
environment:
|
||||
POSTGRES_DB: activiti
|
||||
POSTGRES_USER: alfresco
|
||||
POSTGRES_PASSWORD: alfresco
|
||||
command: postgres -c max_connections=300 -c log_min_messages=LOG
|
||||
volumes:
|
||||
- apsdb-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
postgres-aps-admin:
|
||||
image: postgres:11.6
|
||||
mem_limit: 128m
|
||||
image: postgres:${POSTGRES_TAG}
|
||||
environment:
|
||||
POSTGRES_DB: activiti-admin
|
||||
POSTGRES_USER: alfresco
|
||||
POSTGRES_PASSWORD: alfresco
|
||||
command: postgres -c max_connections=50 -c log_min_messages=LOG
|
||||
volumes:
|
||||
- apsadmindb-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
search-aps:
|
||||
image: elasticsearch:7.6.0
|
||||
mem_limit: 512m
|
||||
image: elasticsearch:${ELASTICSEARCH_TAG}
|
||||
environment:
|
||||
discovery.type: single-node
|
||||
ES_JAVA_OPTS: "-Xms128m -Xmx256m"
|
||||
ulimits:
|
||||
memlock:
|
||||
soft: -1
|
||||
hard: -1
|
||||
depends_on:
|
||||
- activiti-app
|
||||
volumes:
|
||||
- esindex-volume:/var/lib/postgresql/data:rw
|
||||
|
||||
proxy:
|
||||
build: ./nginx-ingress
|
||||
image: local/nginx-ingress:acs
|
||||
image: local/nginx-ingress:aps
|
||||
ports:
|
||||
- 8080:8080
|
||||
depends_on:
|
||||
- activiti-app
|
||||
- activiti-admin
|
||||
|
||||
volumes:
|
||||
apsbin-volume:
|
||||
driver: local
|
||||
apsdb-volume:
|
||||
driver: local
|
||||
apsadmindb-volume:
|
||||
driver: local
|
||||
esindex-volume:
|
||||
driver: local
|
||||
|
Reference in New Issue
Block a user