Skip to content
Merged
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
7 changes: 5 additions & 2 deletions Documentation/reference/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,11 @@ docker run --rm -p 9090:9090 -p 35000:35000 -v "$PWD":/eventmodel cratis/stage:l
- The **Chronicle Workbench** is published on `https://localhost:35000` (change the host side with `--workbench-port`), so you can inspect the session's events, observers and read models while it runs.
- `--rm` removes the container when it exits, so every run starts from a clean, in-memory store.

The Workbench is served over HTTPS with a self-signed development certificate, so your browser will warn about it
the first time. Sign in with the Stage image's development credentials — user `admin`, password `ChangeMeNow!`.
The Workbench is **HTTPS only** — open `https://localhost:35000`, not `http://`. The Chronicle port multiplexes
HTTP/1.1 and HTTP/2 through ALPN, which requires TLS, so a plain `http://` request to it returns nothing at all
(`ERR_EMPTY_RESPONSE` in a browser, `curl: (52) Empty reply from server`). The certificate is a self-signed
development one, so your browser warns the first time. Sign in with the Stage image's development credentials —
user `admin`, password `ChangeMeNow!`.

The command streams the container's output and exits with the container's exit code. Stop the session with `Ctrl+C`.

Expand Down
2 changes: 1 addition & 1 deletion Source/Cli/Commands/Run/RunCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ protected override async Task<int> ExecuteAsync(CommandContext context, RunSetti
!string.Equals(format, OutputFormats.JsonCompact, StringComparison.Ordinal))
{
AnsiConsole.MarkupLine($" [{OutputFormatter.Muted.ToMarkup()}]Starting Stage from {path.EscapeMarkup()} on http://localhost:{settings.Port}[/]");
AnsiConsole.MarkupLine($" [{OutputFormatter.Muted.ToMarkup()}]Chronicle Workbench on https://localhost:{settings.WorkbenchPort}[/]");
AnsiConsole.MarkupLine($" [{OutputFormatter.Muted.ToMarkup()}]Chronicle Workbench on https://localhost:{settings.WorkbenchPort} (HTTPS only — plain http returns an empty response)[/]");
}

Process? process;
Expand Down
Loading