Update application port to 3660 to match server configuration

This commit is contained in:
Hamza-Ayed
2026-03-30 17:19:49 +03:00
parent 3b28389dc3
commit f2c478b6c7
4 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
# Server Port | منفذ الخادم
PORT=3001
PORT=3660
# Environment | بيئة العمل (development, production)
NODE_ENV=development

View File

@@ -30,7 +30,7 @@ RUN npm install --only=production
COPY --from=builder /usr/src/app/dist ./dist
# Expose port | فتح المنفذ
EXPOSE 3001
EXPOSE 3660
# Command to run | أمر التشغيل
CMD ["node", "dist/main"]

View File

@@ -5,7 +5,7 @@ services:
build: .
container_name: ads-analytics-api
ports:
- "${PORT:-3001}:3001"
- "${PORT:-3660}:3660"
env_file:
- .env
environment:

View File

@@ -29,7 +29,7 @@ async function bootstrap() {
// Get ConfigService for port | الحصول على خدمة الإعدادات للمنفذ
const configService = app.get(ConfigService);
const port = configService.get<number>('PORT') || 3001;
const port = configService.get<number>('PORT') || 3660;
// Security | الحماية
// Helmet adds various HTTP headers to protect the app