Initial commit
This commit is contained in:
47
.env.example
Normal file
47
.env.example
Normal file
@@ -0,0 +1,47 @@
|
||||
# aide — environment variables
|
||||
# Copy this file to .env and fill in your values.
|
||||
# Never commit .env to version control.
|
||||
|
||||
# AI provider selection — keys are configured via Settings → Credentials (stored encrypted in DB)
|
||||
# Set DEFAULT_PROVIDER to the provider you'll use as the default
|
||||
DEFAULT_PROVIDER=openrouter # anthropic | openrouter | openai
|
||||
|
||||
# Override the model (leave empty to use the provider's default)
|
||||
# DEFAULT_MODEL=claude-sonnet-4-6
|
||||
|
||||
# Available models shown in the chat model selector (comma-separated)
|
||||
# AVAILABLE_MODELS=claude-sonnet-4-6,claude-opus-4-6,claude-haiku-4-5-20251001
|
||||
|
||||
# Default model pre-selected in chat UI (defaults to first in AVAILABLE_MODELS)
|
||||
# DEFAULT_CHAT_MODEL=claude-sonnet-4-6
|
||||
|
||||
# Master password for the encrypted credential store (required)
|
||||
# Choose a strong passphrase — all credentials are encrypted with this.
|
||||
DB_MASTER_PASSWORD=change-me-to-a-strong-passphrase
|
||||
|
||||
# Server
|
||||
PORT=8080
|
||||
|
||||
# Agent limits
|
||||
MAX_TOOL_CALLS=20
|
||||
MAX_AUTONOMOUS_RUNS_PER_HOUR=10
|
||||
|
||||
# Timezone for display (stored internally as UTC)
|
||||
TIMEZONE=Europe/Oslo
|
||||
|
||||
# Main app database — PostgreSQL (shared postgres service)
|
||||
AIDE_DB_URL=postgresql://aide:change-me@postgres:5432/aide
|
||||
|
||||
# 2nd Brain — PostgreSQL (pgvector)
|
||||
BRAIN_DB_PASSWORD=change-me-to-a-strong-passphrase
|
||||
# Connection string — defaults to the docker-compose postgres service
|
||||
BRAIN_DB_URL=postgresql://brain:${BRAIN_DB_PASSWORD}@postgres:5432/brain
|
||||
# Access key for the MCP server endpoint (generate with: openssl rand -hex 32)
|
||||
BRAIN_MCP_KEY=
|
||||
|
||||
# Brain backup (scripts/brain-backup.sh)
|
||||
# BACKUP_DIR=/opt/aide/backups/brain # default: <project>/backups/brain
|
||||
# BRAIN_BACKUP_KEEP_DAYS=7 # local retention in days
|
||||
# BACKUP_OFFSITE_HOST=user@de-backup.example.com
|
||||
# BACKUP_OFFSITE_PATH=/backups/aide/brain
|
||||
# BACKUP_OFFSITE_SSH_KEY=/root/.ssh/backup_key # omit to use default SSH key
|
||||
Reference in New Issue
Block a user