Phase 2 of Core DI migration: - Add *core.Core field + SetCore() to PrepSubsystem and monitor.Subsystem - Register agentic/monitor/brain as Core services with lifecycle hooks - Mark SetCompletionNotifier and SetNotifier as deprecated (removed in Phase 3) - Fix monitor test to match actual event names - initServices() now wires Core refs before legacy callbacks Co-Authored-By: Virgil <virgil@lethean.io>
40 lines
730 B
Bash
40 lines
730 B
Bash
# Core Agent Local Stack
|
|
# Copy to .env and adjust as needed
|
|
|
|
APP_NAME="Core Agent"
|
|
APP_ENV=local
|
|
APP_DEBUG=true
|
|
APP_KEY=base64:cBXxVVn28EbrYjPiy3QAB8+yqd+gUVRDId0SeDZYFsQ=
|
|
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
|