Files
upage/docker-compose-dev.yaml
LIlGG 4b8f37d1e5 Cleanup LLM modules, prompts & config updates
Remove deprecated Claude-specific LLM implementation files (chat-stream-text.ts, constants.ts, tools index) and related DEFAULT_NUM_CTX usage in Ollama provider. Tighten system prompts to require pages and key content be visible without JavaScript and avoid relying on scripts to show primary content. Update tests to cover the new page-generation system prompt behavior. Adjust configuration: change STORAGE_DIR default to ./public/uploads and remove legacy MAX_TOKENS/MAX_RESPONSE_SEGMENTS/DEFAULT_NUM_CTX entries from .env.example and docker-compose files. Propagate STORAGE_DIR change to documentation and update CLAUDE.md to reference the new agent files.
2026-04-30 18:46:52 +08:00

31 lines
977 B
YAML

version: "3.9"
services:
upage:
image: upage-ai:production
restart: unless-stopped
ports:
- "${PORT:-3000}:3000"
environment:
- OPERATING_ENV=${OPERATING_ENV:-production}
- NODE_ENV=${NODE_ENV:-production}
- LOG_LEVEL=${LOG_LEVEL:-debug}
- LLM_PROVIDER=${LLM_PROVIDER}
- PROVIDER_BASE_URL=${PROVIDER_BASE_URL}
- PROVIDER_API_KEY=${PROVIDER_API_KEY}
- LLM_DEFAULT_MODEL=${LLM_DEFAULT_MODEL}
- LLM_MINOR_MODEL=${LLM_MINOR_MODEL}
- SERPER_API_KEY=${SERPER_API_KEY}
- WEATHER_API_KEY=${WEATHER_API_KEY}
- LOGTO_ENDPOINT=${LOGTO_ENDPOINT}
- LOGTO_APP_ID=${LOGTO_APP_ID}
- LOGTO_APP_SECRET=${LOGTO_APP_SECRET}
- LOGTO_COOKIE_SECRET=${LOGTO_COOKIE_SECRET}
- LOGTO_BASE_URL=${LOGTO_BASE_URL}
- LOGTO_ENABLE=${LOGTO_ENABLE:-false}
- USAGE_LOG_FILE=true
- STORAGE_DIR=/app/storage
- MAX_UPLOAD_SIZE_MB=${MAX_UPLOAD_SIZE_MB:-5}
volumes:
upage-db: