config.json 908 B

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "log_level": "info",
  3. "storage": {
  4. "bind_address": "localhost",
  5. "rpc_port": 9004,
  6. "node_id": "smartbotic-db",
  7. "data_directory": "/var/lib/smartbotic-database",
  8. "memory": {
  9. "max_memory_mb": 512,
  10. "eviction_threshold_percent": 80,
  11. "eviction_target_percent": 60,
  12. "eviction_check_interval_ms": 5000
  13. },
  14. "persistence": {
  15. "wal_sync_interval_ms": 100,
  16. "snapshot_interval_sec": 3600,
  17. "compression": "lz4"
  18. },
  19. "encryption": {
  20. "enabled": true,
  21. "key_file": "/var/lib/smartbotic-database/storage.key",
  22. "auto_generate_key": true
  23. },
  24. "migrations": {
  25. "enabled": false,
  26. "directory": "/etc/smartbotic-database/migrations",
  27. "auto_apply": false
  28. },
  29. "files": {
  30. "max_file_size_mb": 500,
  31. "cleanup_orphans_interval_sec": 3600
  32. },
  33. "replication": {
  34. "enabled": false
  35. }
  36. }
  37. }