mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
bafd327b6b
* feat: agent browser * chore: complete docker and action config * feat: more actions * feat: browser tab switch * fix: browser build * fix: lint * fix: migrations
59 lines
1.0 KiB
TOML
59 lines
1.0 KiB
TOML
# Memoh configuration template
|
|
# Copy to config.toml and adjust values for your environment.
|
|
# For local development, use: cp devenv/app.dev.toml config.toml
|
|
|
|
[log]
|
|
level = "info"
|
|
format = "text"
|
|
|
|
[server]
|
|
addr = ":8080"
|
|
|
|
[admin]
|
|
username = "admin"
|
|
password = "admin123"
|
|
email = "admin@memoh.local"
|
|
|
|
[auth]
|
|
jwt_secret = "CHANGE-ME-TO-A-RANDOM-SECRET"
|
|
jwt_expires_in = "168h"
|
|
|
|
[containerd]
|
|
socket_path = "/run/containerd/containerd.sock"
|
|
namespace = "default"
|
|
|
|
[mcp]
|
|
# registry = "memoh.cn" # Uncomment for China mainland mirror
|
|
image = "memohai/mcp:latest"
|
|
snapshotter = "overlayfs"
|
|
data_root = "data"
|
|
cni_bin_dir = "/opt/cni/bin"
|
|
cni_conf_dir = "/etc/cni/net.d"
|
|
|
|
[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
|
|
|
|
[agent_gateway]
|
|
host = "127.0.0.1"
|
|
port = 8081
|
|
server_addr = ":8080"
|
|
|
|
[browser_gateway]
|
|
host = "127.0.0.1"
|
|
port = 8083
|
|
server_addr = ":8080"
|
|
|
|
[web]
|
|
host = "127.0.0.1"
|
|
port = 8082
|