Skip to content

Instantly share code, notes, and snippets.

@laurynas
Last active October 3, 2025 13:51
Show Gist options
  • Select an option

  • Save laurynas/1cf07f2909fc4530bc5664bc92c67a57 to your computer and use it in GitHub Desktop.

Select an option

Save laurynas/1cf07f2909fc4530bc5664bc92c67a57 to your computer and use it in GitHub Desktop.
Temporal Benchmarks via docker dompose
services:
benchmark-workers:
image: ghcr.io/temporalio/benchmark-workers:v1.5.0
environment: &temporal-environment
- TEMPORAL_GRPC_ENDPOINT=my-benchmarks.xxxx.tmprl.cloud:7233
- TEMPORAL_NAMESPACE=my-benchmarks.xxxx
- TEMPORAL_TLS_KEY=/certs/client.key
- TEMPORAL_TLS_CERT=/certs/client.pem
- TEMPORAL_TLS_CA=/certs/ca.pem
- TEMPORAL_WORKFLOW_TASK_POLLERS=5
- TEMPORAL_ACTIVITY_TASK_POLLERS=5
- TEMPORAL_TLS_DISABLE_HOST_VERIFICATION=true
volumes: &volumes
- ./certs:/certs
deploy:
replicas: 1
runner:
image: ghcr.io/temporalio/benchmark-workers:v1.5.0
environment: *temporal-environment
volumes: *volumes
profiles:
- manual
entrypoint: ["runner"]
@laurynas
Copy link
Author

laurynas commented Oct 3, 2025

docker compose run runner -c 100 -t ExecuteActivity '{ "Count": 3, "Activity": "Echo", "Input": { "Message": "test" } }'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment