clawdie-ai/.env.example
Sam & Claude b6c7ca6399 Internal IP and domain redesign
Replace all hardcoded IPs (192.168.100.x) and domains (clawdie.si)
with configurable placeholders. Real values now live exclusively in
.env (gitignored).

Network: code defaults to 10.0.0.x, configurable via WARDEN_SUBNET_BASE,
WARDEN_GATEWAY, WARDEN_CONTROL_PLANE_IP env vars in jail-config.ts.

Domain: code defaults to clawdie.local, configurable via CLAWDIE_DOMAIN
env var. Subdomain scheme: controlplane/db/cms/gui.{domain}.

Also includes PGVector Phase 0 prep:
- Created ai_brain database with pgvector extensions
- Added pg + @types/pg npm packages
- Added CLAWDIE_DB_URL to .env
- Renamed db from 'clawdie' to 'ai_brain' across Ansible and docs
- Resolved embedding model: OpenRouter text-embedding-3-large at 1536d
- Added docs/pgvector-install-log.md

Renamed ai.clawdie.si → controlplane.{domain} (more descriptive).
Renamed vm.clawdie.si → gui.{domain}.

76 files updated across source, tests, skills, docs, Ansible, and scripts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 09:21:44 +00:00

42 lines
1.1 KiB
Text

ASSISTANT_NAME=Clawdie
# Primary engine for fresh installs
AGENT_ENGINE=pi-tui
PI_TUI_BIN=pi
PI_TUI_PROVIDER=openrouter
PI_TUI_MODEL=anthropic/claude-3.5-sonnet
# Primary API key for pi
OPENROUTER_API_KEY=
# Optional alternative providers supported by pi
# OPENAI_API_KEY=
# ANTHROPIC_API_KEY=
# GEMINI_API_KEY=
# ZAI_API_KEY=
# Channels
TELEGRAM_BOT_TOKEN=
# Domain — set your real domain here. Code defaults to clawdie.local.
CLAWDIE_DOMAIN=clawdie.local
WARDEN_CONTROL_PLANE_HOSTNAME=controlplane.clawdie.local
# Warden jail network — choose your private subnet at bootstrap.
# Code defaults to 10.0.0.x if these are not set.
# Common choices: 192.168.100.x, 10.0.0.x, 172.16.50.x
WARDEN_SUBNET_BASE=10.0.0
WARDEN_SUBNET=10.0.0.0/24
WARDEN_GATEWAY=10.0.0.1
WARDEN_CONTROL_PLANE_IP=10.0.0.100
# PostgreSQL (db jail)
# Generate with: python3 -c "import secrets; print(secrets.token_urlsafe(24))"
POSTGRES_ADMIN_PASSWORD=
CLAWDIE_DB_PASSWORD=
CLAWDIE_DB_URL=postgresql://clawdie_brain:<password>@<db-jail-ip>:5432/ai_brain
STRAPI_DB_PASSWORD=
# Nginx basic auth
SCREENSHOTS_USER=clawdie
SCREENSHOTS_PASSWORD=