Multistage Dockerfile (FrankenPHP + Octane + Horizon + Reverb) with
docker-compose wiring 6 services: app, mariadb, qdrant, ollama, redis,
traefik. All data mounts to .core/vm/mnt/{config,data,log}. Traefik
routes *.lthn.sh with self-signed TLS. Setup script handles first-run
bootstrap including cert generation and embedding model pull.
Co-Authored-By: Virgil <virgil@lethean.io>
40 lines
679 B
Text
40 lines
679 B
Text
# Core Agent Local Stack
|
|
# Copy to .env and adjust as needed
|
|
|
|
APP_NAME="Core Agent"
|
|
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_KEY=
|
|
APP_URL=https://lthn.sh
|
|
APP_DOMAIN=lthn.sh
|
|
|
|
# MariaDB
|
|
DB_CONNECTION=mariadb
|
|
DB_HOST=core-mariadb
|
|
DB_PORT=3306
|
|
DB_DATABASE=core_agent
|
|
DB_USERNAME=core
|
|
DB_PASSWORD=core_local_dev
|
|
|
|
# Redis
|
|
REDIS_CLIENT=predis
|
|
REDIS_HOST=core-redis
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# Queue
|
|
QUEUE_CONNECTION=redis
|
|
|
|
# Ollama (embeddings)
|
|
OLLAMA_URL=http://core-ollama:11434
|
|
|
|
# Qdrant (vector search)
|
|
QDRANT_HOST=core-qdrant
|
|
QDRANT_PORT=6334
|
|
|
|
# Reverb (WebSocket)
|
|
REVERB_HOST=0.0.0.0
|
|
REVERB_PORT=8080
|
|
|
|
# Brain API key (agents use this to authenticate)
|
|
CORE_BRAIN_KEY=local-dev-key
|