Some checks are pending
CI Pipeline / changes (push) Waiting to run
CI Pipeline / core (push) Blocked by required conditions
CI Pipeline / trading-backend (push) Blocked by required conditions
CI Pipeline / trading-data-service (push) Blocked by required conditions
CI Pipeline / trading-frontend (push) Blocked by required conditions
CI Pipeline / erp-core (push) Blocked by required conditions
CI Pipeline / erp-mecanicas (push) Blocked by required conditions
CI Pipeline / gamilit-backend (push) Blocked by required conditions
CI Pipeline / gamilit-frontend (push) Blocked by required conditions
Core: - Add catalog reference implementations (auth, payments, notifications, websocket, etc.) - New agent profiles: Database Auditor, Integration Validator, LLM Agent, Policy Auditor, Trading Strategist - Update SIMCO directives and add escalation/git guidelines - Add deployment inventory and audit execution reports Projects: - erp-suite: DevOps configs, Dockerfiles, shared libs, vertical enhancements - gamilit: Test structure, admin controllers, service refactoring, husky/commitlint - trading-platform: MT4 gateway, auth controllers, admin frontend, deployment scripts - platform_marketing_content: Full DevOps setup, tests, Docker configs - betting-analytics/inmobiliaria-analytics: Initial app structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
24 lines
890 B
TypeScript
24 lines
890 B
TypeScript
import { registerAs } from '@nestjs/config';
|
|
|
|
export const databaseConfig = registerAs('database', () => ({
|
|
type: 'postgres',
|
|
host: process.env.DB_HOST || 'localhost',
|
|
port: parseInt(process.env.DB_PORT, 10) || 5432,
|
|
username: process.env.DB_USERNAME || 'postgres',
|
|
password: process.env.DB_PASSWORD || 'postgres',
|
|
database: process.env.DB_NAME || 'betting_analytics',
|
|
synchronize: process.env.NODE_ENV !== 'production',
|
|
logging: process.env.NODE_ENV === 'development',
|
|
}));
|
|
|
|
export const jwtConfig = registerAs('jwt', () => ({
|
|
secret: process.env.JWT_SECRET || 'change-me-in-production',
|
|
expiresIn: process.env.JWT_EXPIRES_IN || '1d',
|
|
}));
|
|
|
|
export const appConfig = registerAs('app', () => ({
|
|
port: parseInt(process.env.PORT, 10) || 3000,
|
|
environment: process.env.NODE_ENV || 'development',
|
|
apiPrefix: process.env.API_PREFIX || 'api',
|
|
}));
|