# Reference Curator - Database Configuration # Location: ~/.config/reference-curator/db_config.yaml # # Environment variables (set in ~/.reference-curator.env): # MYSQL_USER - MySQL username (required) # MYSQL_PASSWORD - MySQL password (required) # MYSQL_HOST - MySQL host (optional, default: localhost) # MYSQL_PORT - MySQL port (optional, default: 3306) mysql: host: ${MYSQL_HOST:-localhost} port: ${MYSQL_PORT:-3306} database: reference_library user: ${MYSQL_USER} password: ${MYSQL_PASSWORD} charset: utf8mb4 # Connection pool settings pool_size: 5 pool_recycle: 3600 # SSL (if needed for remote MySQL) ssl: enabled: false ca_cert: null # Backup settings backup: enabled: true path: ${REFERENCE_LIBRARY_PATH:-~/reference-library}/backups/ retention_days: 30