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:
parent
224e1fb509
commit
c98cae2e39
|
|
@ -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}`);
|
||||
|
|
|
|||
Loading…
Reference in New Issue