shellgraph

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
FlagDefaultDescription
--dbshellgraph.dbSQLite database file. The server makes it at the first start.
--listen:8080Listen address.
--tls-cert, --tls-keynoneCertificate 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

ItemValue
Entry point/bin/shellgraph-server
Default commandserve --db /data/shellgraph.db --listen :8080
User10001
Volume/data
Port8080

Health check

GET /healthz returns status 200 and:

{"status": "ok", "version": "0.1.0"}