mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
43 lines
825 B
TOML
43 lines
825 B
TOML
## Service configuration
|
|
[server]
|
|
# HTTP listen address
|
|
addr = ":8080"
|
|
|
|
## Auth configuration
|
|
[auth]
|
|
jwt_secret = "your-jwt-secret-key-change-in-production-use-long-random-string"
|
|
jwt_expires_in = "168h"
|
|
|
|
## Containerd configuration
|
|
[containerd]
|
|
socket_path = "/run/containerd/containerd.sock"
|
|
namespace = "default"
|
|
|
|
[mcp]
|
|
busybox_image = "docker.io/library/busybox:latest"
|
|
snapshotter = ""
|
|
data_root = "data"
|
|
data_mount = "/data"
|
|
|
|
## Postgres configuration
|
|
[postgres]
|
|
host = "127.0.0.1"
|
|
port = 5432
|
|
user = "postgres"
|
|
password = ""
|
|
database = "memoh"
|
|
sslmode = "disable"
|
|
|
|
## memory configuration
|
|
[memory]
|
|
base_url = "https://api.openai.com/v1"
|
|
api_key = ""
|
|
model = "gpt-4.1-nano"
|
|
timeout_seconds = 10
|
|
|
|
## Qdrant configuration
|
|
[qdrant]
|
|
base_url = "http://127.0.0.1:6334"
|
|
api_key = ""
|
|
collection = "memory"
|
|
timeout_seconds = 10 |