# Database Configuration
DB_SERVER=localhost
DB_DATABASE=MyDatabase
DB_USER=sa
DB_PASSWORD=YourPassword
DB_ENCRYPT=true
DB_TRUST_SERVER_CERTIFICATE=false
# Read-Write Connection (optional separate connection)
# If not specified, will use the same credentials as above
# DB_RW_SERVER=localhost
# DB_RW_DATABASE=MyDatabase
# DB_RW_USER=sa
# DB_RW_PASSWORD=YourPassword
# Security Settings
ENABLE_WRITE_OPERATIONS=true
REQUIRE_TRANSACTIONS=true
MAX_ROWS_AFFECTED=10000
ENABLE_SP_MODIFICATIONS=true
# ALLOWED_SCHEMAS=dbo,analytics
# Blocked Keywords (comma-separated)
BLOCKED_KEYWORDS=DROP DATABASE,TRUNCATE TABLE,xp_cmdshell,sp_configure
# Filesystem
VIRTUAL_FS_ROOT=/database
ENABLE_CACHE=true
CACHE_TIMEOUT_MS=300000
# SP Management
DRAFT_SCHEMA=dbo_draft
AUTO_BACKUP_BEFORE_DEPLOY=true
VERSION_HISTORY_COUNT=5
# Audit Logging
ENABLE_AUDIT_LOG=true
AUDIT_LOG_PATH=./logs
# Logging
LOG_LEVEL=info
# LOG_FILE=./logs/server.log