Skip to content

sagar1396/POCDevops

Repository files navigation

Process & page flow engine and modeler

The proof of concept integrating Camunda and Form.io freeware frameworks.

Dockerized microservices

Application consists of multiple microservices which are programmed, launched and running separately.

Microservices/Dockers

  1. Java - REST services, orchestrates Camunda and Form.io REST services;
  2. Camunda - REST services and administrator console;
  3. Form.io - REST services and UI form/wizard modeler;
  4. BPMN modeler;
  5. Client - Angular.js client;
  6. HAProxy - Connection routing
  7. Monitoring - Docker health monitoring;
  8. Mongo - NoSQL database

Install Docker

Check your Docker machine:
$ docker-machine ls

If Docker machine does not exists, create new one:
docker-machine create --driver virtualbox default

Build and launch docker images

Docker images can be activated separately or together.
Docker images activation is described in docker-compose.yml

Launch all dockers with one command:
Go to the folder /org.unctad.docker folder and run command:
$ docker-compose up -d

Check what processes are running:
$ docker ps
Now you should see running processes. Test in your browser http://localhost:6001

Deactivate dockers:
$ docker-compose down

General Docker commands

List Docker networks:
$ docker network ls

List Docker images:
$ docker images

Remove Docker image:
$ docker rmi [imageId]

List Docker processes:
$ docker ps

Stop deactivate docker on container:
$ docker stop [dockerId]

Remove docker from container:
$ docker rm [dockerId]

Environment settings:
$ docker-machine env

Restart docker virtual machine: $ docker-machine restart

Enter into docker node shell:
$ docker exec -it [processId] /bin/bash

Check logging with command line:
$ docker logs [processId]

Delete all containers: docker rm $(docker ps -a -q)

Delete all images: $ docker rmi $(docker images -q)

Swagger integrations

All REST API-s are define in Swagger. Read more: http://swagger.io/open-source-integrations/

###Test server
http://unctad.redfunction.ee/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages