- Bun 1.3.6 server setup - MariaDB schema (projects, agents, tasks) - Auto-migrations on startup - WebSocket support - Health check endpoint Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
41 lines
756 B
Plaintext
41 lines
756 B
Plaintext
# Server
|
|
NODE_ENV=development
|
|
PORT=3000
|
|
FRONTEND_URL=http://localhost:5173
|
|
|
|
# Database (MariaDB in K8s)
|
|
DB_HOST=mariadb.control-plane.svc.cluster.local
|
|
DB_PORT=3306
|
|
DB_USER=aiworker
|
|
DB_PASSWORD=AiWorker2026_UserPass!
|
|
DB_NAME=aiworker
|
|
|
|
# Redis (will be deployed)
|
|
REDIS_HOST=redis.control-plane.svc.cluster.local
|
|
REDIS_PORT=6379
|
|
REDIS_PASSWORD=
|
|
|
|
# Gitea
|
|
GITEA_URL=https://git.fuq.tv
|
|
GITEA_TOKEN=your-gitea-token
|
|
GITEA_OWNER=aiworker
|
|
|
|
# Kubernetes
|
|
K8S_IN_CLUSTER=false
|
|
K8S_CONFIG_PATH=~/.kube/aiworker-config
|
|
K8S_DEFAULT_NAMESPACE=aiworker
|
|
|
|
# MCP Server
|
|
MCP_SERVER_PORT=3100
|
|
MCP_AUTH_TOKEN=your-mcp-token
|
|
|
|
# JWT
|
|
JWT_SECRET=your-secret-key-change-in-production
|
|
JWT_EXPIRES_IN=7d
|
|
|
|
# Claude API
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key
|
|
|
|
# Logging
|
|
LOG_LEVEL=info
|