GithubHelp home page GithubHelp logo

abhinavmishra14 / activiti-deployment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openpj/activiti-deployment

0.0 1.0 0.0 18 KB

Packaging and running Activiti Community Docker containers

License: Apache License 2.0

Shell 46.82% Batchfile 53.18%

activiti-deployment's Introduction

Activiti Docker Deployment v1.0.0

Docker Compose project for deploying the Activiti Platform. The goal of this project is to help system administrators to manage an Activiti infrastructure deployed with Docker where they also need to configure parameters or install extensions.

Developers can consider to use our Activiti SDK to create custom containers.

The architecture template will help you deploying Activiti for you with the following tested components:

  • Activiti App 6.0.0
  • Activiti Admin 6.0.0
  • Activiti Rest 6.0.0
  • PostgreSQL 13.1

Each component will have its own Docker Volume for managing the storage:

  • activiti-db-volume: database storage for activiti-app
  • activiti-contentstore-volume: file storage for attachments
  • activiti-admin-db-volume: database storage for activiti-admin

The provided run script will create these volumes for you.

Quickstart

If you have Docker correctly installed in your system, you can download the default distribution of Activiti and run all the containers with the following command:

./run.sh download
./run.sh start

Getting started

Use these instructions to get started with deploying your Activiti Platform with Docker

Prerequisites

Before using this project you have to configure the following components:

  • Docker - Latest stable version

Docker

  1. Download and install Docker

  2. Verify the installation of Docker:

$ docker -v
Docker version 20.10.16, build aa7e414
  1. Docker Compose is included as part of Windows and Mac Docker installers. For Linux-based users, install both the component separately with the following:
  1. Verify the installation of Docker Compose
$ docker-compose -v
docker-compose version 2.6.0

Activiti WAR artifacts, extensions and licensing

  1. Put the JDBC driver used by Activiti in the jdbc-driver folder
  2. Put your activiti-app.war, activiti-rest.war and activiti-admin.war in the wars folder

Configuration

The structure of the project allows you to configure and install extensions against the APS platform as the following:

  • config: put here all the Tomcat and Activiti configuration files
  • config/rest: put here your activiti-rest configuration files
  • jdbc-driver: put here the JDBC driver for Activiti App, Activiti Rest and Activiti Admin
  • logging: change your logging strategy here using the specific log4j.properties
  • docker-compose.yml: change here your deployment structure
  • Dockerfile-app: change here your container build for activiti-app
  • Dockerfile-rest: change here your container build for activiti-rest
  • Dockerfile-admin: change here your continer build for activiti-admin
  • wars: put here your Activiti App, Activiti Rest and Activiti Admin with your extensions (activiti-app.war, activiti-rest.war, activiti-admin.war, extensions JARs)

For more informations about how to build extensions please see Alfresco Process Services SDK.

Getting the default distribution

In order to simplify the adoption of this template, you can execute the following command to download the default distribution of Activiti 6.0.0:

./run.sh download

After the execution, you should find the following files stored in the project:

jdbc-driver/postgresql-42.3.1
wars/activiti-admin.war
wars/activiti-app.war
wars/activiti-rest.war

Deploying your containers

A run script is provided in two formats:

  • run.sh for Linux and Mac users
  • run.bat for Windows users

Run the following command to deploy:

./run.sh start

Stop with:

./run.sh stop

Purge Docker volumes with:

./run.sh purge

Return in tail with:

./run.sh tail

Sponsorship

This project was created with the sponsorship of Confcommercio Venezia CAF S.r.l.

Enterprise support

Official maintenance and support of this project is delivered by Zia Consulting

activiti-deployment's People

Contributors

openpj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.