fix(payment): use PORT env variable instead of PAYMENT_SERVICE_PORT

Payment service was listening on wrong port (3004) because it used
PAYMENT_SERVICE_PORT which wasn't set in docker-compose.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2026-01-10 02:48:44 -08:00
parent 224e1fb509
commit c98cae2e39
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ async function bootstrap() {
app.setGlobalPrefix('api/v1', { exclude: ['health'] });
const configService = app.get(ConfigService);
const port = configService.get<number>('PAYMENT_SERVICE_PORT') || 3004;
const port = configService.get<number>('PORT') || 3002;
await app.listen(port);
console.log(`Payment Service is running on port ${port}`);