Switch from PostgreSQL to SQLite (modernc.org/sqlite, pure Go) for simpler deployment on the MCP platform. Fix URL normalization to preserve query parameters so sites like YouTube deduplicate correctly. Add Dockerfile, Makefile, and MCP service definition. Add pg2sqlite migration tool. Support $PORT env var for MCP port assignment. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
22 lines
380 B
TOML
22 lines
380 B
TOML
name = "kls"
|
|
node = "rift"
|
|
active = true
|
|
path = "../kls"
|
|
|
|
[build.images]
|
|
kls = "Dockerfile"
|
|
|
|
[[components]]
|
|
name = "kls"
|
|
image = "mcr.svc.mcp.metacircular.net:8443/kls:v0.1.0"
|
|
network = "mcpnet"
|
|
user = "0:0"
|
|
restart = "unless-stopped"
|
|
ports = ["127.0.0.1:48000:8000"]
|
|
volumes = ["/srv/kls:/srv/kls"]
|
|
cmd = ["-f", "/srv/kls/kls.conf"]
|
|
|
|
[[components.routes]]
|
|
port = 443
|
|
mode = "l7"
|