- 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.
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
# Standalone compose file for this tool.
|
|
#
|
|
# Joins the "proxy" Docker network so Nginx Proxy Manager can reach this
|
|
# container by name (sde-meeting-toolkit) the same way it reaches Work
|
|
# Package Suite's own internal nginx container. "proxy" must already exist
|
|
# on the host; it is not created here (external: true), since NPM's own
|
|
# stack owns it.
|
|
services:
|
|
sde-meeting-toolkit:
|
|
build: .
|
|
container_name: sde-meeting-toolkit
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5173:5173"
|
|
environment:
|
|
- MOCK_AI=${MOCK_AI:-false}
|
|
- ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
|
|
- APP_USERS=${APP_USERS:-}
|
|
- APP_USERNAME=${APP_USERNAME:-}
|
|
- APP_PASSWORD=${APP_PASSWORD:-}
|
|
- RATE_LIMIT_MAX=${RATE_LIMIT_MAX:-20}
|
|
- RATE_LIMIT_WINDOW_MS=${RATE_LIMIT_WINDOW_MS:-300000}
|
|
- TOKEN_LIMIT_PER_USER=${TOKEN_LIMIT_PER_USER:-0}
|
|
- TOKEN_USAGE_FILE=${TOKEN_USAGE_FILE:-./data/token-usage.json}
|
|
volumes:
|
|
# Persists the per-user token quota file across restarts and rebuilds.
|
|
# Without this, everyone's daily usage silently resets on every deploy.
|
|
- ./data:/app/data
|
|
networks:
|
|
- proxy
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|