Commit Graph

13 Commits

Author SHA1 Message Date
d3c174d9b0 Support $PORT env var for MCP agent port allocation
MCP agent sets $PORT for containers with route declarations.
$PORT takes precedence over HTTP_PORT from config, matching the mcdsl
convention used by all other platform services.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
v0.1.1
2026-03-28 18:07:49 -07:00
0ecea29413 remove $PORT, use config for listen port
MCP's pasta port mapping maps host:randomport to container:routeport.
The app must listen on the route's port (443) inside the container,
configured via HTTP_PORT in kls.conf.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 17:07:26 -07:00
06d469abaf restore $PORT support, remove explicit ports mapping
The MCP agent assigns its own host port and sets $PORT. The app must
listen on $PORT for mc-proxy to reach it. Explicit Podman port mappings
in the service definition are ignored by the agent.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 17:01:29 -07:00
a94b92f7fd fix deployment: use config port, not $PORT
The MCP agent sets $PORT from the route, but the Podman port mapping
expects the container to listen on the config-defined port (3030).
Remove $PORT override to avoid the mismatch. Also restore ports,
network, and user fields in the service definition.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 16:57:33 -07:00
0fa85cb300 migrate to SQLite and prepare for MCP deployment
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>
v0.1.0
2026-03-27 16:18:37 -07:00
25e38814a2 use correct realm 2023-09-12 22:37:37 -07:00
552e1e3ac1 support raw urls 2023-09-12 22:37:04 -07:00
7285264fed clean URLs by default 2022-03-20 15:03:39 -07:00
8756e3deb8 ignore binary 2022-03-19 18:49:59 -07:00
618ccc23b9 mvp 2022-03-19 18:49:41 -07:00
94f996c10d progress 2022-03-19 17:47:01 -07:00
96479f1389 fix sql 2022-03-12 21:51:49 -08:00
23efa07dc5 Initial import. 2022-03-12 20:46:04 -08:00