Running using Docker
In this article we will explore how you can set up Conductor on your local machine using Docker compose.
Prerequisites
- Docker: https://docs.docker.com/get-docker/
- Recommended host with CPU and RAM to be able to run multiple docker containers (at-least 16GB RAM)
Swift Conductor Core
Clone
Build image
Run
Use docker-compose
to bring up the local server:
The docker compose will bring up the following containers:
- Swift Conductor Core Server
- Redis for database and task queue
- Elasticsearch v6 for searching workflows
You can open the server URL in your browser to verify that they are running correctly:
- Server: http://localhost:8080
Swift Conductor CE
CE == Community Edition
Clone
Build image
Run
Use docker-compose
to bring up the local server:
Docker Compose | Description |
---|---|
docker-compose-redis.yaml | Redis + Elasticsearch 7, Redis database, Redis queue, ElasticSearch index |
docker-compose-postgres.yaml | Postgres + Elasticsearch 7, Postgress database, Redis queue, ElasticSearch index |
docker-compose-mysql.yaml | Mysql + Elasticsearch 7, MySql database, Redis queue, ElasticSearch index |
For example this will start the server instance backed by a Redis database, Redis queue, and ElasticSearch index.
The docker compose will bring up the following containers:
- Swift Conductor CE Server
- Swift Conductor UI
- Redis for database and task queue
- Elasticsearch v7 for searching workflows
You can open the Server and UI URLs in your browser to verify that they are running correctly:
- Server: http://localhost:8080
- UI: http://localhost:5000
Monitoring with Prometheus
Start Prometheus only:
or
Start Prometheus and Grafana (optional):
Open Prometheus - http://localhost:9090 and Grafana - http://localhost:3000 in your browser (use admin / admin to login to Grafana).