Your own servers
Your own servers means hosts you run: in your data centre, or as virtual machines in any cloud. The engine’s relay and content reader run there as containers beside your product’s own Compose stack. You can run them with Docker or with Podman. Nothing listens for Atlantic: every connection to LightHouse is outbound, and the file publishes no port.
Docker or Podman
Section titled “Docker or Podman”Both runtimes run the same file. Pick the one your servers already run.
| Docker | Podman | |
|---|---|---|
| Version | Docker Engine with Compose v2 | Podman 5, with Docker’s Compose as the provider for podman compose |
| Command | docker compose … |
podman compose … with the same arguments |
| Always-on profile | Supported | Supported |
| Ephemeral profile | Supported | Supported. The generated file carries the two settings Podman needs |
If you have a choice, use rootless Podman. There is no daemon running as root, and every container runs as an ordinary user on the host. Under the ephemeral profile, the one container that controls other containers can then reach only that user’s containers. With Docker, or with Podman run as root, it can reach every container on the host.
Set up the host
Section titled “Set up the host”Run these as the user who will own the stack, on RHEL 9 or later, Fedora, or any distribution with Podman 5:
sudo loginctl enable-linger "$USER" # the user's services keep running after logout, and start at bootsystemctl --user enable --now podman.socket # the Docker-compatible API the ephemeral scheduler usessystemctl --user enable podman-restart.service # restarts the stack's containers at bootecho "$XDG_RUNTIME_DIR/podman/podman.sock" # your CONTAINER_SOCKET, belowInstall Docker’s Compose binary from Docker’s releases (RHEL does not package it), in a directory on your PATH, such as .local/bin in your home directory, named docker-compose. podman compose finds it there and uses it.
For the ephemeral profile, add to .env:
CONTAINER_SOCKET=/run/user/1000/podman/podman.sock # the path the last command printedSOCKET_PROXY_USER=0:00:0 looks like root but is not. In a rootless container, uid 0 is the host user who owns the socket. Podman’s socket can be opened only by its owner, so the proxy has to run as that user.
sudo systemctl enable --now podman.socket # the Docker-compatible API, at /run/podman/podman.socksudo systemctl enable podman-restart.service # restarts the stack's containers at bootInstall Docker’s Compose binary from Docker’s releases, for example at /usr/local/bin/docker-compose.
For the ephemeral profile, add to .env:
CONTAINER_SOCKET=/run/podman/podman.sockSOCKET_PROXY_USER=0:0Here 0:0 is root, with every Linux capability dropped, no new privileges and a read-only file system. Any process that can open the runtime’s socket can control the host, with Docker as with Podman. What limits the proxy is its allowlist, described under Permissions.
Docker Engine and its Compose plugin, from your distribution or from Docker.
For the ephemeral profile, add the group that owns Docker’s socket to .env:
stat -c %g /var/run/docker.sock # for example 999DOCKER_GID=999The proxy then runs as nobody in that group, because Docker’s socket can be opened by its group.
Hosts with SELinux enforcing
Section titled “Hosts with SELinux enforcing”RHEL and its relatives enforce SELinux by default, under either runtime. The secret files are mounted by Compose, which cannot label them, so label them once:
chcon -R -t container_file_t secretsThe socket proxy runs with SELinux labelling turned off for itself only, so that it can reach the socket. No other container needs it, and on a host without SELinux the setting has no effect.
Ports below 1024 under rootless Podman
Section titled “Ports below 1024 under rootless Podman”The generated file publishes no port, so this matters only if your own front door runs in the same rootless Podman. A rootless user cannot bind port 443 unless the host allows it (sysctl net.ipv4.ip_unprivileged_port_start=443, persisted in /etc/sysctl.d/). Otherwise, bind a higher port and forward 443 to it at the host’s firewall.
Get my stack: the bundle
Section titled “Get my stack: the bundle”-
In LightHouse, go to Setup and admin → Where agents run and choose Your own servers. The card covers Docker and Podman.
-
Choose a profile, then Get my stack. LightHouse shows every file in full, with Copy on each. Or, with the LightHouse CLI and your own portal session, write them all into a directory at once:
Terminal window lighthouse-ai stack --cloud onprem --out ./lighthouseA tenant with more than one deployment adds
--deployment <name>(?deployment=on the API): the files sign and answer as that deployment only. -
Fill in the two choices that are yours, in
.env, then the model’s credentials, then run./lighthouse-start.sh.
There is no cloud bootstrap and no console link. What the bundle holds:
| File | What it is |
|---|---|
compose.yaml |
The stack: the containers that connect your deployment to LightHouse, and your product’s side (the gateway, the knowledge database and Octy) |
.env |
Every setting, filled in for your deployment: the engine’s images by digest, the deployment’s name, the network. Two are marked FILL IN: the model provider and how Octy signs your people in. No secrets |
lighthouse-start.sh |
One command to start. Safe to run again |
lighthouse-check.sh |
Checks every part, and asks Octy one question |
handler-commands.yaml |
Your policy for commands from LightHouse: every type off until you switch it on |
gateway/policy.yaml |
Your gateway’s allow-list and prices. A model with no price is refused |
octy/octy.yaml |
Octy’s configuration: her models through your gateway, your documents, your identity provider |
documents/welcome.md |
A first document. Add your own Markdown beside it |
catalogs/knowledge.yaml |
The catalogue of your source cards, which the sync tick pulls when LightHouse schedules a source. Empty until you add one |
database/init.sh, database/grants.sql |
The knowledge database’s set-up: a database for Octy with pgvector, and a user for each part with only the rights it needs |
secrets/aal-reader-public-key, secrets/aal-command-public-key |
Atlantic’s two public keys. Empty either file to stop Atlantic reading, or acting |
gateway-local-model.yaml |
Only with a model on your own GPUs: see Self-hosted models |
The engine’s images
Section titled “The engine’s images”Atlantic publishes the engine’s two images with every engine release, to its private registry on GitLab (registry.gitlab.com): the engine image (the gateway, the relay, the content reader, the command channel and the sync tick) and the Octy image (Octy and her widget). .env names both in full.
Each is built for x86-64 and arm64, scanned for vulnerabilities before it is published, carries a software bill of materials, and is signed with Sigstore’s cosign by Atlantic’s release pipeline, with no long-lived signing key. .env pins both by digest, so what runs is exactly what was scanned and signed. Your administrator gets your own read-only deploy token from Atlantic once: its username is already in .env (AAL_REGISTRY_USER), and the token goes in secrets/registry-token. It can read the images and nothing else. Revoking it stops only you.
To check an image’s signature before you run it, ask Atlantic for the cosign verify command of your release: it names the identity of the pipeline that signed it.
If .env leaves the images empty, your LightHouse predates the first release with published images: ask Atlantic.
Fill in two choices
Section titled “Fill in two choices”In .env:
- The model provider,
AAL_GATEWAY_BACKEND:anthropic(the Claude API),bedrock(Amazon Bedrock) oropenai-compatible(a model on your own GPUs, or any OpenAI-compatible endpoint). For Bedrock in the EU, uncomment the three preset lines.envgives; they map each model in the gateway’s policy to Bedrock’s own id. - How Octy signs your people in,
OCTY_OIDC_ISSUER,OCTY_OIDC_AUDIENCEandOCTY_OIDC_JWKS_URL: your OpenID Connect identity provider (Entra ID, Okta, Google, Keycloak).
Octy uses Claude Haiku 4.5 to route and Claude Sonnet 4.6 to answer, both allowed and priced in gateway/policy.yaml. Change both files together. The prices are Anthropic’s published rates; put your own provider’s rate card there before you rely on spend.
cd lighthouse./lighthouse-start.shcd lighthouseCONTAINER_RUNTIME=podman ./lighthouse-start.shThe first run makes, on this host, every secret it can: the deployment’s signing key and sealing key, a password for each database user and the gateway’s service token. They are files in secrets/, a directory closed to everyone else on the host; nothing in them leaves it. It then writes a template for secrets/model-credentials and stops: fill in the provider’s credentials there, as KEY=value lines (for Bedrock, AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY, or none where the host gives the gateway a role; for the Claude API, ANTHROPIC_API_KEY). Only the gateway can read them. Run it again: it signs in to Atlantic’s registry with your deploy token, pulls the images, creates the product network and starts the stack.
It prints the deployment’s public key and key id every time. For a new deployment, send that to Atlantic to register it (never the private key). The reader and the command channel connect within a minute of registration.
The gateway’s first budget is set before its first call: LIGHTHOUSE_FIRST_BUDGET_USD in .env, $100 a month by default, only where no budget is set yet. A gateway with no budget refuses every call. Later budgets come from LightHouse (budget.set, once you switch it on) or the gateway’s own command.
Check it
Section titled “Check it”./lighthouse-check.sh # asks Octy about documents/welcome.md./lighthouse-check.sh "a question your documents answer"It checks that every container is running and healthy, that the two that run once finished cleanly, that the gateway has its budget, that the reader and the command channel hold their connections to LightHouse, and that Octy answers through the gateway with citations. With AAL_KEY (a viewer API key) and your tenant’s machine access token (CF_ACCESS_CLIENT_ID, CF_ACCESS_CLIENT_SECRET) in the environment, it also reads what LightHouse sees. It exits 0 only if every check passes.
Without the product side
Section titled “Without the product side”If your product already runs its own gateway and database, take product out of COMPOSE_PROFILES in .env, and set the three store addresses there: AAL_HANDLER_GATEWAY_STORE (the command channel’s own user, which may change only what commands change), AAL_READER_GATEWAY_STORE and AAL_TICK_GATEWAY_STORE (read-only users). Then your gateway posts its records to http://aal-relay:4319 on the network AAL_PRODUCT_NETWORK names.
More settings
Section titled “More settings”| Setting | What it is |
|---|---|
COMPOSE_PROFILES |
What runs: your profile (always or ondemand), and product |
AAL_DEPLOYMENT |
This deployment’s name as registered in LightHouse. It must match deployment: in handler-commands.yaml, or every command is refused |
AAL_PRODUCT_NETWORK |
The network where your product’s gateway reaches the relay. The start script creates it |
AAL_GATEWAY_URL |
The gateway, for the Token Value Benchmark’s schedule on the sync tick |
HTTPS_PROXY, NO_PROXY |
Your proxy, if outbound traffic goes through one |
AAL_CA_BUNDLE |
The root of a proxy that inspects TLS, as a file under ./ca. See Through your proxy |
SOCKET_PROXY_IMAGE, DOCKER_CLI_IMAGE |
Ephemeral profile only: pinned by digest in .env |
DOCKER_GID |
Ephemeral profile on Docker: the start script finds it |
CONTAINER_SOCKET, SOCKET_PROXY_USER |
Ephemeral profile on Podman: Podman’s socket, and 0:0. See Set up the host |
Name every image in full, with its registry. Podman on RHEL and Fedora refuses a short name such as docker:28.5.2-cli when it cannot ask you which registry you meant. Docker accepts either form.
The containers run as user 10001; the start script makes each secret file readable inside them and closes the directory to everyone else on the host. Where SELinux is enforcing, label the secrets once (see above).
What it runs
Section titled “What it runs”Your own servers: a Compose stack under Docker or Podman, wherever your servers are
Way in
- Sign-in front door, oauth2-proxy, off until you start it: people signed in by your identity provider
your people, signed in
Engine
- Gateway, a container of your product's: the only container with a model credential
- Octy and your agents, containers: answer from your documents, through the gateway
- Telemetry relay, a lasting container: signs records; buffers on disk if LightHouse is unreachable
- Content reader, a container · started every minute: answers reads signed by Atlantic
- Command channel, a container: applies signed commands your policy allows
- Connector-schedule tick, a container: every 15 minutes, syncs your sources
model calls, from the gateway alone
Models
- Self-hosted model, vLLM or NVIDIA NIM, on your GPUs: optional; prompts never leave your machines
- A provider's API, with your own key: for example the Claude API
Kept on your servers
- Secrets, secret files: the deployment key, the command and sealing keys
- Knowledge database, PostgreSQL with pgvector: the gateway's store and your index
- Logs and buffers, volumes: every content read; the relay's buffer
One outbound path, through your firewall or proxy, over HTTPS
- Operational telemetry (downward): counts, costs and timings from the relay, signed by your deployment. Never content
- Content, read in place (both ways): a read signed by Atlantic, answered by your reader on the connection it opened
- Signed commands (upward): pause, approve, set a cap: checked by your command channel against your policy
LightHouse: your tenant, in Atlantic's account: intake, API, MCP and portal
- Docker
- vLLM
- NVIDIA (NVIDIA NIM)
| Container | Compose profile | What it does |
|---|---|---|
aal-relay |
both | Takes content-free records from your product’s gateway, signs them with the deployment’s key and sends them to LightHouse. It buffers on disk while LightHouse is unreachable. It runs under both profiles, because the gateway can post to it at any time |
aal-content-reader |
always |
The read-only content reader. It holds its connection to LightHouse and answers only reads signed with Atlantic’s reader key |
aal-content-reader-ondemand |
ondemand |
The same reader, run every minute. Each run connects for 50 seconds (connect --window 50), then exits. up also starts it once |
aal-scheduler |
ondemand |
The Docker CLI in a loop. It starts the reader by name, waits for it to finish, then waits 10 seconds, so the reader starts about once a minute and never runs twice at once. Under Podman it talks to Podman’s Docker-compatible API |
aal-scheduler-proxy |
ondemand |
The only container that mounts the runtime’s socket. It accepts connections from the scheduler only, and allows only ping, version, and starting and waiting on a container named aal-<client>-* |
Every engine container runs as user 10001, with a read-only root file system, all capabilities dropped and no new privileges, and restarts unless you stop it. The gateway is your product’s own container, so the engine never holds model credentials.
The command channel, the connector-schedule tick and the sealing key are in the generated file: the channel under both profiles, a container that runs the tick every 15 minutes, the command key and sealing key as secrets, and the connector store in the channel’s volume. A new file beside compose.yaml, handler-commands.yaml, is your deployment’s policy, with every command type off until you switch it on. The always-on file still mounts no socket.
The sign-in front door
Section titled “The sign-in front door”The generated file also holds the sign-in front door, as a Compose profile (front-door) that is off until you start it. It is oauth2-proxy in front of your product’s interface, signing people in through your own OpenID Connect identity provider, so the interface is reachable only by people your provider admits. Use it when your product’s interface runs beside the stack. Its four secret files, and how to make them, are in the setup comments at the top of the generated file. Start it with --profile front-door. Inbound port 443 is open to the front door only; nothing else listens.
The settings it sets
Section titled “The settings it sets”| Setting | On | Value |
|---|---|---|
AAL_LIGHTHOUSE_URL, AAL_CONTROL_PLANE_URL |
relay, reader | LightHouse’s intake address, filled in for you. Both names are set |
AAL_LIGHTHOUSE_KEY_FILE, AAL_CONTROL_PLANE_KEY_FILE |
relay, reader | The deployment key’s secret file, under both names |
AAL_DEPLOYMENT |
relay, reader | <client>/<deployment> |
AAL_RELAY_LISTEN, AAL_TELEMETRY_BUFFER_DIR |
relay | 0.0.0.0:4319, reachable on the deployment’s networks only; the buffer volume |
AAL_READER_AAL_PUBLIC_KEY_FILE, AAL_READER_LOG_DIR |
reader | Atlantic’s reader key; where the reader logs every read, on its own volume |
AAL_READER_KNOWLEDGE_DB, AAL_READER_GATEWAY_STORE |
reader | From .env; without them, the bundle’s database as the reader’s own read-only user, its password read from secrets/ at start |
AAL_DEPLOYMENT_PROFILE, AAL_CLOUD, AAL_REGION, AAL_COMPONENT |
relay, reader | The profile; onprem; onprem; relay or reader |
Your product’s side: the gateway, the knowledge database and Octy
Section titled “Your product’s side: the gateway, the knowledge database and Octy”Under the Compose profile product, the bundle runs the parts that do the work:
| Container | What it does |
|---|---|
knowledge-db |
PostgreSQL with pgvector: the gateway’s store (database gateway) and Octy’s index (database knowledge). Its first start makes the second database and a user for each part |
gateway-setup |
Runs once at every start, then exits: makes the gateway’s tables, gives each database user its rights, and sets the first budget where none is set |
gateway |
The model gateway: the only container with a model credential, the budgets, the allow-list and prices, the kill switch. It reaches the provider over edge |
octy-index |
Runs once at every start: indexes documents/ into the knowledge database. Unchanged documents are skipped. After adding some, docker compose run --rm octy-index |
octy |
Octy, answering your people from your documents through the gateway, with citations, signed in by your identity provider |
Each runs hardened like the rest; PostgreSQL keeps only the five capabilities it needs to own its volume. Nothing listens on your network: Octy answers on the product network at http://octy:8095. Publish her through your own front door, or the sign-in front door above (FRONT_DOOR_UPSTREAM=http://octy:8095).
Sources and their labels. Each document in documents/ gives doc_class: internal or public in its front matter. The sync tick reads catalogs/knowledge.yaml: one card per source, as in In code. The tick files every document under the label its card gives, and quarantines a label the engine’s default vocabulary does not know. A source starts with its schedule off, and nothing syncs until someone chooses. For a source connected in LightHouse, Sync now and a schedule on its connection’s card (Setup and admin → Connectors, a client administrator signed in as a person) reach the tick through the command channel, once connector.sync and connector.schedule are switched on in handler-commands.yaml; the tick runs it at its next quarter-hour.
What LightHouse sees
Section titled “What LightHouse sees”With a viewer API key and your tenant’s machine access token (see the Quickstart), or lighthouse-check.sh with both in the environment:
| Call | What it shows once the stack is up |
|---|---|
GET /api/v1/me |
tier_b.connected: true and reachable: true: the content reader holds its connection and Atlantic’s current key |
GET /api/v1/deployments/profiles |
Your deployment with profile, cloud: onprem, and its components (relay, reader, handler, gateway) |
GET /api/v1/health |
Each component’s last state, and each source’s last pull |
GET /api/v1/usage |
Calls, tokens and estimated cost, after the first model call through the gateway |
In the first runs on Docker, the reader and the command channel connected within a minute of registration, and records from the gateway arrived within a minute of its first call.
Permissions
Section titled “Permissions”There is no cloud identity. What each container can reach is set by its networks and its secrets:
- Secrets: the two files above, mounted as Compose secrets and never passed as settings.
- Networks:
edge, the only way out, to LightHouse (and your proxy); your product’s existing network, where its gateway reaches the relay; andscheduler, an internal network with no route out, used only by the scheduler and its socket proxy. - The runtime’s socket: only the socket proxy mounts it. Mounting the socket read-only does not make the API read-only; the proxy’s allowlist is what does. The proxy refuses container IDs, any container name outside
aal-<client>-*, creating containers, exec, images, volumes and networks. Atlantic has checked these refusals against Docker, and against Podman in rootless and rootful mode.
Hardware and network requirements
Section titled “Hardware and network requirements”- Network: outbound HTTPS and WebSocket on port 443 to LightHouse’s intake address.
HTTPS_PROXYandNO_PROXYare honoured, and a proxy that inspects TLS is supported with its root inAAL_CA_BUNDLE. With no outbound path at all, see By file (air-gapped). - Hardware: see the table below.
Hardware requirements
Section titled “Hardware requirements”What LightHouse’s containers need on your own servers, beside your product’s own stack (its database, gateway and interface). Either deployment profile, Docker or Podman, x86-64 or arm64.
| Minimum | Recommended | |
|---|---|---|
| CPU | 2 vCPU | 4 vCPU |
| Memory | 2 GiB | 4 GiB |
| Disk | 10 GiB free | 20 GiB free, SSD |
| Network | Outbound HTTPS (443) to LightHouse’s intake address and your identity provider; inbound 443 to the sign-in front door only | The same |
How we measured it. On 6 November 2026, with Docker on an 8-vCPU, 8 GiB Linux VM: five minutes idle, then five minutes at 3,000 telemetry records a minute (a busy gateway), with LightHouse unreachable on purpose so the telemetry buffer filled and the reader and command channel kept reconnecting. LightHouse’s containers together peaked at 98 MiB of memory under the always-on profile and 152 MiB under the ephemeral profile (its schedulers cost about 50 MiB more), and averaged under a tenth of one CPU core, with brief bursts of up to one core while reconnecting. The minimum adds room for the operating system, the container runtime and the images; the recommended figures keep the host under half its memory with the buffer full and a sync indexing. You can run the same measurement on your own host with scripts/measure-onprem.sh in the infrastructure package.
| Volume | Grows with | Size |
|---|---|---|
buffer |
Records held while LightHouse cannot be reached: about 0.8 MiB a minute at 3,000 records a minute (measured) | Capped: 512 MiB in the example settings (about 11 hours at that rate), 64 MiB if you set no cap. The oldest is dropped first |
reads |
One line per read Atlantic makes, about 300 bytes | About 110 MB a year at 1,000 reads a day. Nothing rotates it |
commands |
One line per command, plus sealed connector credentials | Under 50 MB a year for most deployments |
| Knowledge index | Your synced documents, in your knowledge database (PostgreSQL with pgvector) | Measured at 7.5 KiB a chunk with the default embedding, 17.6 KiB with a 1,024-wide one: about 75 MB per 10,000 chunks (roughly 1,000 ten-page documents) |
A self-hosted model needs its own hardware: see Self-hosted models.
Self-hosted models
Section titled “Self-hosted models”An open-weight model on your own NVIDIA GPUs, served by vLLM or NVIDIA NIM, is described on Self-hosted models, with the hardware it needs.
Air-gapped operation
Section titled “Air-gapped operation”How the deployment reaches LightHouse (directly, through your proxy, or by file) is described on How it reaches LightHouse. A site with no network path to the internet or to Atlantic is described on By file (air-gapped), including how images and models are carried in.
Regions
Section titled “Regions”The region is wherever your servers are. LightHouse records it as onprem.
Deployment profiles
Section titled “Deployment profiles”On your own servers an idle container costs memory, not money, so always-on (Compose profile always) is a good default. Ephemeral (ondemand) frees memory and keeps no connection to Atlantic open between runs; a portal read then waits up to about a minute while the reader starts. The relay runs under both. There is no cloud bill to compare against, so LightHouse shows no estimated saving.
Scheduled runs the ondemand containers with AAL_WAKE_SCHEDULE in .env set to the wake window; inside the window each run of the reader stays connected for its whole 50 seconds, so a read is answered at once, and outside it the stack behaves exactly as ephemeral.
To switch, get the file again from LightHouse with the other profile, because each file holds only the profile you chose. Then run compose down and compose up -d with the new profile, using your runtime’s command. The volumes are kept, and with them the buffer and the read log. See Deployment profiles.
Upgrading and removing the stack
Section titled “Upgrading and removing the stack”- Upgrade: change each image’s digest in a reviewed change, then run
docker compose up -d(orpodman compose up -d). See Upgrades. - Remove: run
docker compose --profile always --profile ondemand down(or the same withpodman compose). Then delete thesecrets/directory and any volumes you no longer need:bufferholds records not yet sent, andreadsholds the read log.
Remove my stack
Section titled “Remove my stack”LightHouse can generate the removal for you. As a client administrator, open Setup and admin → Run → Remove my stack. It gives you a step-by-step guide and a script, lighthouse-removal.sh, for this stack. The script runs on your machine and only when you run it: LightHouse never does, and nothing is removed automatically.
- The script refuses to run until the variable
LIGHTHOUSE_REMOVEnames the deployment, so it cannot be run against the wrong one by accident. - It stops and removes the stack’s containers, then the secrets and the volumes you choose to delete. Records not yet sent (
buffer) and the read log (reads) are lost with their volumes, so keep them first if your records policy asks you to. - The last step is yours, in LightHouse: deregister the deployment. You sign in as a person with a second factor, type the deployment’s name again and give a reason. LightHouse then refuses the deployment’s signatures from that moment, and records the deregistration in the audit log. Only Atlantic can reinstate it, within 30 days.