diff --git a/develop/README.md b/develop/README.md index 194f2dc..e7d8b2a 100644 --- a/develop/README.md +++ b/develop/README.md @@ -18,6 +18,25 @@ 2. Done! Run tests against these services. The default ports are specified in an [environment file](docker-compose/develop.env) 3. To stop the development environment: `make stop-dependencies` +### Example Commands + +The two Temporal clusters are exposed on `localhost:17233` (left) and `localhost:27233` (right). + +```bash +# Describe cluster +temporal operator cluster describe --address localhost:17233 +temporal operator cluster describe --address localhost:27233 + +# List namespaces +temporal operator namespace list --address localhost:17233 + +# List workflows in the default namespace +temporal workflow list --address localhost:17233 --namespace default + +# Describe a namespace +temporal operator namespace describe default --address localhost:17233 +``` + ### Logs - To view container logs, run `docker logs `. For example `docker logs docker-compose-smoke-test-1`. diff --git a/develop/docker-compose/develop.env b/develop/docker-compose/develop.env index 74043ec..c799e8b 100644 --- a/develop/docker-compose/develop.env +++ b/develop/docker-compose/develop.env @@ -1,8 +1,8 @@ # External Ports (exposed via localhost) -TEMPORAL_LEFT_EXTERNAL_PORT=4000 -TEMPORAL_RIGHT_EXTERNAL_PORT=5000 -PROXY_LEFT_EXTERNAL_PORT=4001 -PROXY_RIGHT_EXTERNAL_PORT=5001 +TEMPORAL_LEFT_EXTERNAL_PORT=17233 +TEMPORAL_RIGHT_EXTERNAL_PORT=27233 +PROXY_LEFT_EXTERNAL_PORT=16233 +PROXY_RIGHT_EXTERNAL_PORT=26333 PROXY_LEFT_METRICS_EXTERNAL_PORT=4091 PROXY_RIGHT_METRICS_EXTERNAL_PORT=5091 PROMETHEUS_EXTERNAL_PORT=9090