Platform Marketing Content: - Add PaginationParams, PaginationMeta, PaginatedResponse interfaces - Fix JwtAuthGuard import paths (common/guards instead of modules/auth) - Add missing fields to CRM interfaces (address, keywords, features, benefits) - Install @nestjs/throttler dependency ERP Suite - Construccion: - Create tsconfig.node.json for web frontend - Add vite-env.d.ts for Vite types - Fix implicit return errors in Express controllers - Prefix unused parameters with underscore ERP Suite - ERP Core: - Export PoolClient type from database config - Fix invoice type comparison (customer/supplier vs out_invoice) - Refactor base.service.ts query handling for proper type inference - Rename Role type to RoleType to avoid conflict with entity - Fix ProtectedRoute to use role?.name instead of roles array ERP Suite - POS Micro: - Add vite-env.d.ts for Vite types - Fix Sale property names (discountAmount, changeAmount) - Export TodaySummary interface from sales service All projects now pass npm install and npm run build successfully. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
77 lines
1.6 KiB
YAML
77 lines
1.6 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
trading-agents:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: orbiquant-trading-agents
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
# Service
|
|
- SERVICE_NAME=trading-agents
|
|
- ENVIRONMENT=${ENVIRONMENT:-development}
|
|
- LOG_LEVEL=${LOG_LEVEL:-INFO}
|
|
|
|
# Database
|
|
- DATABASE_URL=postgresql+asyncpg://${POSTGRES_USER:-orbiquant}:${POSTGRES_PASSWORD:-dev_password}@database:5432/${POSTGRES_DB:-orbiquant}
|
|
|
|
# Binance API
|
|
- BINANCE_API_KEY=${BINANCE_API_KEY:-}
|
|
- BINANCE_API_SECRET=${BINANCE_API_SECRET:-}
|
|
- BINANCE_TESTNET=${BINANCE_TESTNET:-true}
|
|
|
|
# ML Engine
|
|
- ML_ENGINE_URL=${ML_ENGINE_URL:-http://ml-engine:3083}
|
|
- ML_ENGINE_API_KEY=${ML_ENGINE_API_KEY:-dev_ml_key}
|
|
|
|
# Redis (for caching and pub/sub)
|
|
- REDIS_URL=redis://redis:6379/0
|
|
|
|
# API
|
|
- API_PORT=3086
|
|
- API_HOST=0.0.0.0
|
|
|
|
ports:
|
|
- "3086:3086"
|
|
|
|
volumes:
|
|
- ./src:/app/src
|
|
- ./config:/app/config
|
|
- ./logs:/app/logs
|
|
|
|
depends_on:
|
|
- database
|
|
- redis
|
|
|
|
networks:
|
|
- orbiquant-network
|
|
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:3086/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
# Redis for caching and messaging
|
|
redis:
|
|
image: redis:7-alpine
|
|
container_name: orbiquant-redis
|
|
restart: unless-stopped
|
|
ports:
|
|
- "6379:6379"
|
|
volumes:
|
|
- redis-data:/data
|
|
networks:
|
|
- orbiquant-network
|
|
command: redis-server --appendonly yes
|
|
|
|
networks:
|
|
orbiquant-network:
|
|
external: true
|
|
|
|
volumes:
|
|
redis-data:
|