Command line
The subcommands and flags of shellgraph-server, and its HTTP health check.
shellgraph-server serve
Starts the server.
shellgraph-server serve --db /var/lib/shellgraph/shellgraph.db --listen :8080
| Flag | Default | Description |
|---|---|---|
--db | shellgraph.db | SQLite database file. The server makes it at the first start. |
--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 --db /data/shellgraph.db --listen :8080 |
| User | 10001 |
| Volume | /data |
| Port | 8080 |
Health check
GET /healthz returns status 200 and:
{"status": "ok", "version": "0.1.0"}