Compare commits

..

3 Commits

Author SHA1 Message Date
eb8df1a86f fixed aps-search dependency 2023-10-25 18:46:40 -04:00
3fee42cd28 elasticsearch v.7.17.13 2023-10-25 18:37:26 -04:00
25e6137de9 Revert "removed elasticsearch"
This reverts commit fc8a854920.
2023-10-25 18:34:37 -04:00
3 changed files with 13 additions and 25 deletions

1
.env
View File

@@ -7,3 +7,4 @@ 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

@@ -3,10 +3,3 @@
This Git Repository intends to represent environments in Docker Compose. All environments are effectively a derivative of other environments. The original environment is the environment represented by the `base` branch. All derivative environments are represented by other branches. Those branches are named in the format `{core}.{parent}`. This Git Repository intends to represent environments in Docker Compose. All environments are effectively a derivative of other environments. The original environment is the environment represented by the `base` branch. All derivative environments are represented by other branches. Those branches are named in the format `{core}.{parent}`.
## Licensing
This version of Alfresco requires licensing.
### APS
APS requires a license file for it to work. For licensing to work, you must place your license file in the following directory relative to the user home directory that runs the Docker Compose command: `alfresco/license/aps`. The filename must be `activiti.lic`. You can use symbolic linking if desired.

View File

@@ -7,28 +7,19 @@ services:
activiti-app: activiti-app:
image: quay.io/alfresco/alfresco-process-services:${APS_TAG} image: quay.io/alfresco/alfresco-process-services:${APS_TAG}
environment: 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_DATASOURCE_URL: 'jdbc:postgresql://postgres-aps:5432/activiti?characterEncoding=UTF-8'
JAVA_OPTS: "-Xms128m -Xmx256m" ACTIVITI_ES_REST_CLIENT_ADDRESS: search-aps
depends_on: depends_on:
- postgres-aps - postgres-aps
- search-aps
volumes: volumes:
- "$ALFRESCO_LICENSE_DIR/aps:/home/alfresco/.activiti/enterprise-license:ro" - "$ALFRESCO_LICENSE_DIR/aps:/root/.activiti/enterprise-license:ro"
activiti-admin: activiti-admin:
image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG} image: quay.io/alfresco/alfresco-process-services-admin:${APS_TAG}
environment: 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_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_HOST: http://activiti-app
ACTIVITI_ADMIN_REST_APP_PORT: 8080
JAVA_OPTS: "-Xms64m -Xmx128m"
depends_on: depends_on:
- postgres-aps-admin - postgres-aps-admin
- activiti-app - activiti-app
@@ -37,17 +28,20 @@ services:
image: postgres:${POSTGRES_TAG} image: postgres:${POSTGRES_TAG}
environment: environment:
POSTGRES_DB: activiti POSTGRES_DB: activiti
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco
command: postgres -c max_connections=300 -c log_min_messages=LOG
postgres-aps-admin: postgres-aps-admin:
image: postgres:${POSTGRES_TAG} image: postgres:${POSTGRES_TAG}
environment: environment:
POSTGRES_DB: activiti-admin POSTGRES_DB: activiti-admin
POSTGRES_USER: alfresco
POSTGRES_PASSWORD: alfresco search-aps:
command: postgres -c max_connections=50 -c log_min_messages=LOG image: elasticsearch:${ELASTICSEARCH_TAG}
environment:
discovery.type: single-node
ulimits:
memlock:
soft: -1
hard: -1
proxy: proxy:
build: ./nginx-ingress build: ./nginx-ingress