### Run Local Orkes Conductor Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/README.md This script downloads and executes a shell script to set up and run Orkes Conductor locally using Docker. It's a simple way to get started with the community edition for development and testing. ```shell curl https://raw.githubusercontent.com/orkes-io/orkes-conductor-community/main/scripts/run_local.sh | sh ``` -------------------------------- ### Manual Docker Run for Standalone Server Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/README.md This demonstrates how to manually run the Orkes Conductor standalone Docker image. It includes creating persistent volumes for Redis and Postgres data, ensuring data persistence across container restarts. The standalone image is recommended for local development and testing. ```dockerfile # Create volumes for persistent stores docker volume create postgres docker volume create redis docker run --init -p 8080:8080 -p 1234:5000 --mount source=redis,target=/redis \ --mount source=postgres,target=/pgdata orkesio/orkes-conductor-community-standalone:latest ``` -------------------------------- ### Pull Orkes Conductor Server + UI Docker Image Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/README.md This command pulls the latest Docker image for the Orkes Conductor server and UI. It's suitable for general use, and users can replace 'latest' with a specific version tag to deploy a particular release. ```dockerfile docker pull orkesio/orkes-conductor-community:latest ``` -------------------------------- ### Postgres Database Connectivity Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/CONFIGURATION.md Configuration properties for connecting to the PostgreSQL database, including the JDBC URL, username, and password. These settings are crucial for storing and retrieving workflow metadata and state. ```properties spring.datasource.url=jdbc:postgresql://PG_HOST:PORT/db_name #set the user and password accordingly spring.datasource.username= spring.datasource.password= ``` -------------------------------- ### Advanced Performance Settings Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/CONFIGURATION.md Advanced performance tuning properties for Orkes-Conductor. These include settings for sweeper threads, system task workers, and cache refresh intervals to optimize throughput and reduce latency. ```properties # No. of threads allocated to the sweeper. Recommended to keep 2x-3x of the total CPU count on the host conductor.app.sweeperThreadCount=10 # Batch size for the system task worker conductor.app.systemTaskMaxPollCount=10 # No of threads configured for the system task worker. Recommended to be same as systemTaskMaxPollCount conductor.app.systemTaskWorkerThreadCount=10 # Keep metadata longer in the cache to avoid excessive lookups from Redis. Recommended value 60 # Values are in second conductor.redis.taskDefCacheRefreshInterval=1 # Postgres connection pool size -- typically no need to change, unless you are sure # number. default: 8 spring.datasource.hikari.maximum-pool-size=8 ``` -------------------------------- ### Redis Database Connectivity Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/CONFIGURATION.md Configuration properties for connecting to the Redis database, including server address and host details. These properties are essential for distributed locking and caching mechanisms within Orkes-Conductor. ```properties conductor.redis-lock.serverAddress=redis://HOSTNAME:PORT # us-east-1c is used by backward compatibility. Change this to the existing value used conductor.redis.hosts=HOSTNAME:PORT:us-east-1c ``` -------------------------------- ### Misc Conductor Server Properties Source: https://github.com/orkes-io/orkes-conductor-community/blob/main/CONFIGURATION.md Miscellaneous conductor server properties, such as enabling or disabling the requirement for the ownerEmail field in metadata. This property controls data validation during metadata creation. ```properties # Enable/Disable ownerEmail field in the metadata being required # true | false conductor.app.owner-email-mandatory= ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.