this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add Letta server password protection for remote access

- Add SECURE and LETTA_SERVER_PASSWORD env vars to letta service
- Add letta.assistant.mosphere.at to Caddyfile.example
- Add LETTA_SERVER_PASSWORD to .env.example

When LETTA_SERVER_PASSWORD is set, Letta enables SECURE mode and
requires the password for API access. This allows connecting via
Letta Cloud ADE at https://app.letta.com → Self-Hosted Server.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

alice 87dd6f41 7ccbe248

+15 -1
+6
.env.example
··· 7 7 # Prod (Docker): http://letta:8283 8 8 LETTA_BASE_URL=http://localhost:8283 9 9 10 + # Password for Letta server (enables SECURE mode) 11 + # Required for production to access via Letta Cloud ADE 12 + # Generate with: openssl rand -hex 16 13 + # Leave empty for local development (no auth) 14 + LETTA_SERVER_PASSWORD= 15 + 10 16 # === Telegram === 11 17 # Bot token from @BotFather 12 18 TELEGRAM_BOT_TOKEN=your_bot_token_here
+6
Caddyfile.example
··· 7 7 reverse_proxy app:3000 8 8 } 9 9 10 + # Letta ADE - password protected by Letta itself (LETTA_SERVER_PASSWORD) 11 + # Connect via https://app.letta.com → Self-Hosted Server 12 + letta.assistant.mosphere.at { 13 + reverse_proxy letta:8283 14 + } 15 + 10 16 # Netdata monitoring - basic auth protected 11 17 # Generate password hash: docker run --rm -it caddy caddy hash-password 12 18 netdata.assistant.mosphere.at {
+3 -1
docker-compose.yml
··· 84 84 environment: 85 85 # Use LiteLLM as OpenAI-compatible endpoint for Claude models 86 86 - OPENAI_API_BASE=http://litellm:4000 87 - # Session ID is passed via LiteLLM extra_headers to anthropic-proxy 88 87 - OPENAI_API_KEY=${ANTHROPIC_PROXY_SESSION_ID} 88 + # Password protection for remote access via Letta Cloud ADE 89 + - SECURE=${LETTA_SERVER_PASSWORD:+true} 90 + - LETTA_SERVER_PASSWORD=${LETTA_SERVER_PASSWORD:-} 89 91 volumes: 90 92 - letta-data:/var/lib/postgresql/data 91 93 networks: