Docker Compose template for deploying the Alfresco Process Services Platform.
The goal of this project is to help system administrators to manage a APS infrastructure deployed with Docker where they also need to configure parameters or install extensions. For developers interested to build extensions please see the Alfresco Process Services SDK.
The architecture template will help you deploying APS for you with the following tested components:
- activiti-app 2.3.0
- activiti-admin 2.3.0
- ElasticSearch 7.17.1
- PostgreSQL 13.1
Each component will have its own Docker Volume for managing the storage:
aps-db-sa-volume
: database storage for activiti-appaps-contentstore-sa-volume
: file storage for attachmentsaps-es-sa-volume
: file storage for search indexesaps-admin-db-sa-volume
: database storage for activiti-admin
The provided run script will create these volumes for you.
Use these instructions to get started with deploying your Alfresco Process Services Platform with Docker
Before using this project you have to configure the following components:
- Docker - Latest stable version
- A valid APS license
-
Download and install Docker
-
Verify the installation of Docker:
$ docker -v
Docker version 20.10.12, build e91ed57
- Docker Compose is included as part of Windows and Mac Docker installers. For Linux-based users, install both the component separately with the following:
- Verify the installation of Docker Compose
$ docker-compose -v
docker-compose version 2.2.3
- Put your license in the
activiti-license
folder - Put the JDBC driver used by APS in the
jdbc-driver
folder - Put your activiti-app.war and activiti-admin.war in the
extensions
folder
The structure of the project allows you to configure and install extensions against the APS platform as the following:
admin/tomcat/conf
: put here all the Tomcat configuration filesjdbc-driver
: put here the JDBC driver for Activiti App and Activiti Adminlogging
: change your logging strategy here using logback.xmlproperties
: change here your activiti-app and activiti-admin propertiesactiviti-license
: put here your valid APS licensedocker-compose.yml
: change here your deployment structureDockerfile
: change here your container build for activiti-appDockerfile-admin
: change here your continer build for activiti-adminextensions
: put here your Activiti App, Activiti Admin and extensions (activiti-app.war, activiti-admin.war, extensions JARs)
For more informations about how to build extensions please see Alfresco Process Services SDK.
A run script is provided in two formats:
run.sh
for Linux and Mac usersrun.bat
for Windows users
Run the following command to deploy:
./run.sh build_start
Stop with:
./run.sh stop
Purge Docker volumes with:
./run.sh purge
Return in tail with:
./run.sh tail
Official maintenance and support of this project is delivered by Zia Consulting