Lemonade Control Center is designed for local operation on a trusted Linux inference host.
It is not intended to be exposed directly to the public internet.
By default:
- localhost is trusted
- LAN and remote API clients require
LCC_API_KEY REQUIRE_AUTH=trueforces the same key requirement for localhost
Configuration:
LCC_API_KEY=
REQUIRE_AUTH=falseUse a long random value for LCC_API_KEY if binding LCC to anything other than 127.0.0.1.
LEMONADE_ADMIN_API_KEY is different from LCC_API_KEY.
LCC_API_KEYprotects access to LCC.LEMONADE_ADMIN_API_KEYis passed to Lemonade for protected Lemonade operations.
Most read-only LCC surfaces do not require the Lemonade admin key. Operations that call protected Lemonade endpoints do.
The following actions are disabled unless explicitly enabled:
ENABLE_DELETE=false
ENABLE_RESTART=falseENABLE_DELETE=trueenables guarded model deletion.ENABLE_RESTART=trueenables guarded Lemonade service restart.
Service restart can unload the active model. Model deletion is irreversible from LCC.
Diagnostic bundles are sanitized before download. LCC redacts common secret keys, bearer tokens, Hugging Face tokens, private LAN IPs, hostnames, local usernames, and home paths on a best-effort basis.
Bundles can still contain sensitive workflow context such as model names, command-line shape, logs, prompts summarized by metadata, and local runtime behavior. Review the archive before attaching it to a public GitHub issue.
For LAN usage:
- Bind LCC to the desired interface.
- Set
LCC_API_KEY. - Keep firewall rules narrow.
- Prefer a trusted private network.
For remote usage across untrusted networks, prefer SSH port forwarding rather than exposing the service.
Example from the client computer:
ssh -N -L 17600:127.0.0.1:17600 USER@SERVER_IPThis keeps LCC bound to localhost on the server. Open http://127.0.0.1:17600 in the client browser while the SSH session remains active.
Unified runtime LAN example:
APP_HOST=0.0.0.0 APP_PORT=4242 REQUIRE_AUTH=true LAN_MODE=true python -m app.runWith LAN mode active, the client connects directly to http://SERVER_IP:4242; no SSH tunnel needs to remain open. The browser must provide the LCC_API_KEY, and the host firewall must allow TCP port 4242.
SSH tunnel mode and LAN mode are alternatives. LAN_MODE=true is intentionally strict: it requires a LAN-visible bind address and REQUIRE_AUTH=true.