Command line
The subcommands and flags of shellgraph-server, and its HTTP health check.
shellgraph-server serve
Starts the server.
shellgraph-server serve --listen :8080
| Flag | Default | Description |
|---|---|---|
--listen | :8080 | Listen address. |
--tls-cert, --tls-key | none | Certificate and key files. With these flags, the server uses HTTPS. |
The server reads its configuration from environment variables. If a variable is missing or not valid, the server prints the problem and stops.
shellgraph-server keygen
Prints a new master key for SHELLGRAPH_KEY: 32 random bytes, base64.
shellgraph-server version
Prints the version.
Container image
| Item | Value |
|---|---|
| Entry point | /bin/shellgraph-server |
| Default command | serve --listen :8080 |
| User | 10001 |
| Port | 8080 |
Health check
GET /healthz returns status 200 and:
{"status": "ok"}
The answer does not have the version, because this request needs no login. The sidebar of the UI shows the version after the login.