Compare commits

..

10 Commits

2 changed files with 13 additions and 12 deletions

1
.env
View File

@@ -7,4 +7,3 @@ PROXY_PORT=8080
APS_TAG=2.4.1 APS_TAG=2.4.1
POSTGRES_TAG=13 POSTGRES_TAG=13
ELASTICSEARCH_TAG=7.17.13

View File

@@ -8,12 +8,11 @@ services:
image: quay.io/alfresco/alfresco-process-services:${APS_TAG} image: quay.io/alfresco/alfresco-process-services:${APS_TAG}
environment: environment:
ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8' ACTIVITI_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps
depends_on: depends_on:
- postgres-aps - postgres-aps
- search-aps
volumes: volumes:
- "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro" - "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro"
- apsbin-volume:/var/lib/postgresql/data:rw
activiti-admin: activiti-admin:
image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG} image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG}
@@ -28,20 +27,15 @@ services:
image: postgres:${POSTGRES_TAG} image: postgres:${POSTGRES_TAG}
environment: environment:
POSTGRES_DB: activiti POSTGRES_DB: activiti
volumes:
- apsdb-volume:/var/lib/postgresql/data:rw
postgres-aps-admin: postgres-aps-admin:
image: postgres:${POSTGRES_TAG} image: postgres:${POSTGRES_TAG}
environment: environment:
POSTGRES_DB: activiti-admin POSTGRES_DB: activiti-admin
volumes:
search-aps: - apsadmindb-volume:/var/lib/postgresql/data:rw
image: elasticsearch:${ELASTICSEARCH_TAG}
environment:
discovery.type: single-node
ulimits:
memlock:
soft: -1
hard: -1
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress
@@ -51,3 +45,11 @@ services:
depends_on: depends_on:
- activiti-app - activiti-app
- activiti-admin - activiti-admin
volumes:
apsbin-volume:
driver: local
apsdb-volume:
driver: local
apsadmindb-volume:
driver: local