mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
627b673a5c
* refactor: restructure memory into multi-provider adapters, remove manifest.json dependency - Rename internal/memory/provider to internal/memory/adapters with per-provider subdirectories (builtin, mem0, openviking) - Replace manifest.json-based delete/update with scan-based index from daily files - Add mem0 and openviking provider adapters with HTTP client, chat hooks, MCP tools, and CRUD - Wire provider lifecycle into registry (auto-instantiate on create, evict on update/delete) - Split docker-compose into base stack + optional overlays (qdrant, browser, mem0, openviking) - Update admin UI to support dynamic provider config schema rendering * chore(lint): fix all golangci-lint issues for clean CI * refactor(docker): replace compose overlay files with profiles * feat(memory): add built-in memory multi modes * fix(ci): golangci lint * feat(memory): edit built-in memory sparse design
57 lines
1.2 KiB
TOML
57 lines
1.2 KiB
TOML
# Memoh Apple Container configuration (macOS / Darwin)
|
|
# Uses socktainer + Apple Containerization framework instead of containerd.
|
|
|
|
[log]
|
|
level = "debug"
|
|
format = "text"
|
|
|
|
[server]
|
|
addr = ":8080"
|
|
|
|
[admin]
|
|
username = "admin"
|
|
password = "admin123"
|
|
email = "dev@memoh.local"
|
|
|
|
[auth]
|
|
jwt_secret = "memoh-dev-secret-do-not-use-in-production"
|
|
jwt_expires_in = "168h"
|
|
|
|
[containerd]
|
|
# socket_path / namespace are unused on macOS; socktainer takes over.
|
|
|
|
[containerd.socktainer]
|
|
# NOTE: Apple Container are now experimental feature and only support on macOS 26 and later.
|
|
# socket_path and binary_path use sensible defaults when left empty.
|
|
# socket_path = "/path/to/your/.socktainer/container.sock"
|
|
# binary_path = "/opt/homebrew/bin/socktainer"
|
|
|
|
[mcp]
|
|
image = "memohai/mcp:latest"
|
|
data_root = "data"
|
|
|
|
[postgres]
|
|
host = "127.0.0.1"
|
|
port = 5432
|
|
user = "memoh"
|
|
password = "memoh123"
|
|
database = "memoh"
|
|
sslmode = "disable"
|
|
|
|
[qdrant]
|
|
base_url = "http://127.0.0.1:6334"
|
|
api_key = ""
|
|
timeout_seconds = 10
|
|
|
|
[sparse]
|
|
base_url = "http://127.0.0.1:8085"
|
|
|
|
[agent_gateway]
|
|
host = "127.0.0.1"
|
|
port = 8081
|
|
server_addr = "127.0.0.1:8080"
|
|
|
|
[browser_gateway]
|
|
host = "127.0.0.1"
|
|
port = 8083
|
|
server_addr = "127.0.0.1:8080" |