From dea8e0acf16575199b5d379b8047857563c77f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=93=D1=80=D0=B8=D0=B3=D0=BE=D1=80=D0=B8=D0=B9=20=D0=A1?= =?UTF-8?q?=D0=B0=D1=84=D1=80=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Mon, 27 Apr 2026 19:14:08 +0000 Subject: [PATCH] Upload files to "/" --- config.toml | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 config.toml diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..6422323 --- /dev/null +++ b/config.toml @@ -0,0 +1,62 @@ +# +# Copyright 2026 Grigorii Safronov + # + # Licensed under the CDDL, Version 1.0 (the "License"); + # you may not use this file except in compliance with the License. + # + # You may obtain a copy of the License at + # https://opensource.org/licenses/CDDL-1.0 + # + +# Конфигурационный файл СУБД futriis + +[cluster] + name = "test_cluster" + node_ip = "192.168.0.103" # Укажите ваш реальный IP + node_port = 9876 + raft_port = 9878 + raft_data_dir = "raft_data" + bootstrap = true # Флаг для первого узла в кластере + nodes = [ # Список узлов кластера + "192.168.0.103:9878", # Текущий узел + # "192.168.0.104:9878", # Другие узлы кластера + # "192.168.0.105:9878", + ] + +[storage] + page_size_mb = 64 + max_collections = 100 + max_documents_per_collection = 1000000 + +[repl] + prompt_color = "#00bfff" + history_size = 1000 + +[log] + log_file = "futriis.log" + log_level = "debug" + +[api] + port = 8080 # Порт для HTTP API сервера + +[replication] + enabled = false + master_master = false + sync_replication = false + replication_timeout_ms = 5000 + +[plugins] + enabled = false + script_dir = "plugins" + allow_list = ["print", "math", "string"] + +[compression] + enabled = true # Включить сжатие данных + algorithm = "snappy" # Алгоритм: snappy, lz4, zstd + level = 3 # Уровень сжатия (1-9, зависит от алгоритма) + min_size = 1024 # Минимальный размер документа для сжатия (байт) + +[webui] + enabled = true # Включить веб-интерфейс + port = 9080 # Порт для веб-интерфейса + theme = "dark" # Тема оформления (dark, light)