LightShip reads all settings from environment variables at startup. You can set them in a .env file with Docker Compose or export them directly in your deployment environment.
Environment variables
Hosted demo mode
Demo mode deliberately publishes an ordinary account credential. The account retains its assigned
roles, so displaying an administrator credential gives visitors administrative access. Demo API
keys expire within 24 hours, and the displayed account cannot change its own password.
Enable this mode only on a dedicated deployment backed by synthetic traces and disposable
control-plane state. Public demos still require TLS and edge rate limits.
Change POSTGRES_PASSWORD from the default before the first boot. Postgres bakes the password into its data volume during initialization. Changing it later requires resetting the volume or running ALTER ROLE inside Postgres manually.
Validating configuration
Run lightship check to compile the access model stored in Postgres and print its status. From a
Docker Compose checkout, run:
The command does not start the server, apply migrations, validate the serving environment, or test
ClickHouse connectivity and schema compatibility. A missing source binding is reported as a
warning. See CLI reference for details.