Commit Graph

7 Commits

Author SHA1 Message Date
77203955a5 Restrict outbound network to api.anthropic.com only
- New egress-proxy/ container (tinyproxy) that only allows CONNECT to
  api.anthropic.com, refuses everything else.
- docker-compose.yml: sde-meeting-toolkit is no longer on 'default' at
  all. Its only networks are 'proxy' (NPM, inbound) and a new private
  'egress' network shared only with egress-proxy. egress-proxy is the
  only container with a real internet route.
- server.js: route the one outbound Anthropic call through
  EGRESS_PROXY_URL when set, using undici's own fetch + ProxyAgent
  together (mixing them with Node's global fetch throws a version
  mismatch error - caught this locally before it hit a real deploy).
- Add undici as a real dependency (package.json, package-lock.json),
  npm ci step in Dockerfile.
- Add smoke-test-egress.sh + Step 9b in DOCKER_TESTING.md to verify
  this whole chain with real Docker.
- Update CHANGELOG.
2026-09-29 18:16:35 -07:00
d6e83dcdf5 Document non-root container, shared login, and data folder permission fix
- PORTAINER_DEPLOY.md: add the chown step needed after the container
  switched to a non-root user, and note EACCES as the symptom if skipped.
- Update CHANGELOG for the shared login, non-root Dockerfile, and
  cap_drop/no-new-privileges hardening.
2026-09-29 18:03:39 -07:00
0f53a159f0 Fix 502 on AI draft button; restyle landing page
- docker-compose.yml: keep the container on both 'proxy' and 'default'
  networks. 'proxy' alone has no internet route, which broke the
  outbound call to api.anthropic.com once NPM routing was added.
- server.js: replace the plain landing page with one matching both
  tools' existing design (dark header, IBM Plex Sans, card layout).
- Update CHANGELOG.
2026-09-29 17:49:15 -07:00
2e8d699a36 Join the proxy network for Nginx Proxy Manager access
- docker-compose.yml now attaches the toolkit's container to the
  external 'proxy' Docker network, the same one NPM already uses to
  reach Work Package Suite's internal nginx container by name
  (confirmed via NPM's generated proxy_host/11.conf).
- Document the exact NPM Proxy Host setup for MVP.controls.dev in
  PORTAINER_DEPLOY.md.
- Update CHANGELOG.
2026-09-23 16:07:27 -07:00
50424acad1 Fix Portainer deploy: use variable substitution instead of env_file 2026-09-04 13:30:21 -07:00
f1200b7d79 Add per-user daily token quota with persistent usage tracking 2026-08-21 12:25:57 -07:00
e77cd64d88 Add login gate, rate limiting, and container deploy files for company-wide use 2026-08-20 15:06:37 -07:00