Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions develop/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <container name>`. For example `docker logs docker-compose-smoke-test-1`.
Expand Down
8 changes: 4 additions & 4 deletions develop/docker-compose/develop.env
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading