Add database migration scripts and configuration files

- Add verify-migration.js script for testing database migrations
- Add database config module for centralized configuration
- Add chutes.txt prompt for system responses
- Update database implementation and testing documentation
- Add database migration and setup scripts
- Update session system and LLM tool configuration
- Update deployment checklist and environment example
- Update Dockerfile and docker-compose configuration
This commit is contained in:
southseact-3d
2026-02-20 12:38:43 +00:00
parent a92797d3a7
commit cb95a916ae
19 changed files with 1104 additions and 143 deletions

View File

@@ -95,8 +95,12 @@ services:
- USE_JSON_DATABASE=${USE_JSON_DATABASE:-}
- DATABASE_PATH=${DATABASE_PATH:-}
- DATABASE_ENCRYPTION_KEY=${DATABASE_ENCRYPTION_KEY:-}
- DATABASE_KEY_FILE=${DATABASE_KEY_FILE:-}
- DATABASE_BACKUP_ENABLED=${DATABASE_BACKUP_ENABLED:-1}
- DATABASE_WAL_MODE=${DATABASE_WAL_MODE:-1}
- DATABASE_USE_SQLCIPHER=${DATABASE_USE_SQLCIPHER:-1}
- DATABASE_CIPHER_COMPAT=${DATABASE_CIPHER_COMPAT:-4}
- DATABASE_KDF_ITER=${DATABASE_KDF_ITER:-64000}
- JWT_SECRET=${JWT_SECRET:-}
- JWT_ACCESS_TOKEN_TTL=${JWT_ACCESS_TOKEN_TTL:-900}
- JWT_REFRESH_TOKEN_TTL=${JWT_REFRESH_TOKEN_TTL:-604800}