Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
SIGNUPNo`open` (the default) lets anyone who can reach the address make an account. `closed` stops new accounts once the first one exists.open
SMTP_FROMNoOptional. From address for outgoing email.
SMTP_HOSTNoOptional. Outgoing email host. With it set, LockIn sends account confirmation and password reset emails.
SMTP_PORTNoOptional. Outgoing email port.
SMTP_USERNoOptional. Outgoing email username.
DIRECT_URLNoPostgres connection string used for migrations. For Supabase use the session pooler (:5432, no pgbouncer params). Must not be a copy of DATABASE_URL on Supabase.
INGEST_URLNoOptional. URL of the ingest service for PDF and web-page text extraction plus server-side embeddings, e.g. http://ingest:8080.
PUBLIC_URLNoThe address people open LockIn at. For HTTPS deployments set it to your domain, e.g. https://notes.example.com (no trailing slash). Used to build the links in confirmation and password reset emails.http://localhost:3000
AUTH_SECRETYesRequired. Signs sessions and upload links. Generate one with `openssl rand -base64 32`. Keep it with your backups: a restored copy with a different secret signs everyone out.
LOCKIN_BINDNoWhich of the machine's addresses that port listens on. Default 127.0.0.1 (the machine itself, i.e. you or a proxy running on it). Set to 0.0.0.0 to reach LockIn from other machines without a proxy (also set TRUSTED_PROXY_HOPS=0), though traffic is then unencrypted.127.0.0.1
LOCKIN_PORTNoHost port LockIn listens on.3000
RATE_LIMITSNo`off` drops the built-in rate limits. Default `on`.on
DATABASE_URLNoPostgres connection string, runtime. For Supabase use the transaction pooler (:6543, pgbouncer=true).
NEXTAUTH_URLNoThe app's base URL, e.g. http://localhost:3000.
INGEST_SECRETNoOptional. Any long random string, required together with INGEST_URL to enable text extraction and server-side embeddings.
OPERATOR_NAMENoOptional. Your name, shown on the privacy and terms pages.
SMTP_PASSWORDNoOptional. Outgoing email password.
OPERATOR_EMAILNoOptional. When set, /privacy and /terms pages appear, linked from the landing and sign-up pages, naming you as the one to write to.
NEXTAUTH_SECRETNoSecret used by NextAuth.
GOOGLE_CLIENT_IDNoOptional. "Continue with Google" appears only when both GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set.
OPERATOR_HOSTINGNoOptional. A sentence of your own, shown on the privacy page, on where the data is kept and how long backups are.
STORAGE_QUOTA_MBNoMegabytes of images and PDFs each account may store. `0` for no ceiling.1024
POSTGRES_PASSWORDNoPassword for the bundled Postgres database.
TRUSTED_PROXY_HOPSNoHow many reverse proxies stand in front of LockIn. Default `1`; `0` when visitors reach the port directly. With a CDN in front of the proxy as well, set it to `2`.1
GOOGLE_CLIENT_SECRETNoOptional. "Continue with Google" appears only when both GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET are set.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources