From c98cae2e39a1ff0eb96525cb00760ddb464164fa Mon Sep 17 00:00:00 2001 From: hailin Date: Sat, 10 Jan 2026 02:48:44 -0800 Subject: [PATCH] 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 --- packages/services/payment-service/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/services/payment-service/src/main.ts b/packages/services/payment-service/src/main.ts index b244add..a6480f5 100644 --- a/packages/services/payment-service/src/main.ts +++ b/packages/services/payment-service/src/main.ts @@ -22,7 +22,7 @@ async function bootstrap() { app.setGlobalPrefix('api/v1', { exclude: ['health'] }); const configService = app.get(ConfigService); - const port = configService.get('PAYMENT_SERVICE_PORT') || 3004; + const port = configService.get('PORT') || 3002; await app.listen(port); console.log(`Payment Service is running on port ${port}`);