Use connectors and deploy processes with Docker Compose
Use this page to work with connectors and local modeling tools in the Docker Compose quickstart.
Use connectors
Both the lightweight and full Docker Compose configurations include built-in connectors for integrating with external systems. The connector runtime executes outbound connectors called from BPMN processes, and inbound connectors that trigger process instances from external events.
For connector overviews and installation details, see:
Connector secrets
When you run Camunda locally with Docker Compose, some connectors require credentials or API keys to connect with external services such as Slack, SendGrid, or AWS. Store those values as secrets instead of hardcoding them in your process models.
You can add secrets to the connector runtime with the included connector-secrets.txt file:
-
Open
connector-secrets.txtin the extracted directory. -
Add secrets in the format
NAME=VALUE, one per line:SLACK_TOKEN=xoxb-your-token-here
SENDGRID_API_KEY=SG.your-api-key -
Save the file. The secrets become available in connector configurations with the syntax
{{secrets.NAME}}. For example,{{secrets.SLACK_TOKEN}}.
Do not commit connector-secrets.txt to version control with real credentials. Use placeholder values in the repository and configure actual secrets in each environment.
For more details, see configure connector secrets.
Custom connectors
In addition to the built-in connectors, you can add custom connectors.
To include custom connectors:
- Create a new Docker image that bundles your connectors, as described in the Connectors repository.
- Mount the connector JARs as volumes into the
/opt/appdirectory in the Docker Compose file.
Each connector JAR must include all required dependencies inside the JAR.
Deploy and execute processes
You can deploy and execute processes with either Desktop Modeler or Web Modeler.
Deploy with Desktop Modeler
Desktop Modeler is a free, open-source desktop application for modeling BPMN, DMN, and Camunda Forms.
Lightweight configuration
To deploy from Desktop Modeler to the lightweight configuration:
- Open Desktop Modeler and click the deployment icon.
- Select Camunda 8 Self-Managed.
- Configure the connection:
- Cluster endpoint:
http://localhost:8080/v2 - Authentication: None
- Cluster endpoint:
- Click Deploy.
For more details, see deploy to Self-Managed from Desktop Modeler.
Full configuration
To deploy from Desktop Modeler to the full configuration:
- Open Desktop Modeler and click the deployment icon.
- Select Camunda 8 Self-Managed.
- Configure the connection:
- Cluster endpoint:
http://localhost:8080/v2 - Authentication: OAuth
- OAuth URL:
http://localhost:18080/auth/realms/camunda-platform/protocol/openid-connect/token - Client ID:
orchestration - Client secret:
secret - Audience:
orchestration-api
- Cluster endpoint:
- Click Deploy.
The full configuration uses Keycloak for OIDC authentication. The client credentials are preconfigured in the .env file and Management Identity configuration.
Deploy with Camunda Hub
Non-production installations of Web Modeler are limited to five collaborators per project. See Licensing.
Camunda Hub includes a browser-based Web Modeler for creating and deploying BPMN, DMN, and form diagrams. Camunda Hub is included in the full configuration and can also run as a standalone setup.
Standalone setup
To start Camunda Hub, its WebSockets service, Management Identity, Keycloak, PostgreSQL, and Mailpit independently, run:
docker compose -f docker-compose-web-modeler.yaml up -d
To stop the standalone setup and remove all data and volumes, run:
docker compose -f docker-compose-web-modeler.yaml down -v
Deploy or execute a process
When you use the full configuration, Web Modeler in Camunda Hub connects automatically to the local Orchestration Cluster started by docker-compose-full.yaml. You can deploy and run processes directly from Camunda Hub.
- Log in to Camunda Hub at http://localhost:8070 with
demo/demo. - Create a new project or open an existing BPMN diagram.
- Use the visual modeler to design your BPMN process.
- Click Deploy to deploy the diagram to the preconfigured Orchestration Cluster.
- After deployment, you can create process instances and monitor them in Operate.
Web Modeler uses the BEARER_TOKEN authentication method to communicate with the Orchestration Cluster. The user's authentication token from Management Identity is used automatically for deployment.
Camunda Hub is not included in the lightweight configuration. To use Web Modeler in Camunda Hub with the lightweight configuration:
- Run Camunda Hub separately with
docker-compose-web-modeler.yaml. - Manually configure the cluster connection in Camunda Hub.
- Use
NONEorBASICauthentication for the lightweight Orchestration Cluster.
For details, see configure Web Modeler clusters.
Emails
The Docker Compose setup includes Mailpit as a test SMTP server. Mailpit captures all emails sent by Web Modeler, but does not forward them to actual recipients.
You can access emails in Mailpit at http://localhost:8075.
Next steps
- Follow the getting started guide to create a Java project and connect to your local cluster.
- Learn BPMN fundamentals and best practices.
- Explore the Orchestration Cluster REST API and client libraries.