Files
sde-meeting-toolkit/docker-compose.yml

29 lines
1.2 KiB
YAML

# Standalone compose file for this tool.
#
# To run it alongside the Work Package Suite container instead, copy the
# "sde-meeting-toolkit" service block below into that stack's compose file.
# Put it on the same network as the other services only if you want
# hostname-based access between containers; this tool does not call the
# Work Package Suite API and does not need that network to function.
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