Files
suanming/.koyeb/koyeb.yaml
patdelphi b0594d5131 feat: Complete AI interpretation system and fix database issues
- Fixed all database connection errors in aiInterpretation.cjs
- Updated better-sqlite3 API calls from callback to sync methods
- Removed AI interpretation buttons from history page
- Added pagination to history page (10 records per page)
- Fixed mobile responsive design for AI interpretation results
- Updated Koyeb deployment configuration to use npm instead of pnpm
- Resolved API limit issues for history records
2025-08-22 15:57:53 +08:00

31 lines
645 B
YAML

# Koyeb部署配置文件
name: suanming-app
services:
- name: suanming-backend
type: web
git:
branch: master
build_command: npm ci && npm run build
run_command: npm start
instance_type: nano
ports:
- port: 8000
protocol: http
env:
- key: NODE_ENV
value: production
- key: PORT
value: "8000"
volumes:
- name: sqlite-data
mount_path: /app/data
size: 1GB
health_check:
http:
path: /api/health
port: 8000
initial_delay_seconds: 30
period_seconds: 10
timeout_seconds: 5
failure_threshold: 3