Compare commits

..

2 Commits

Author SHA1 Message Date
jhbkjh
bb44a733dc localhost:8080 2025-10-31 15:42:12 +09:00
wonho
c2890cbead k8s probe 로직 삭제 2025-10-31 15:33:44 +09:00
5 changed files with 25 additions and 25 deletions

View File

@ -28,27 +28,27 @@ spec:
limits:
cpu: "1024m"
memory: "1024Mi"
startupProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 10
periodSeconds: 10
failureThreshold: 30
readinessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 3
livenessProbe:
httpGet:
path: /health
port: 8080
initialDelaySeconds: 15
periodSeconds: 20
failureThreshold: 3
# startupProbe:
# httpGet:
# path: /health
# port: 8080
# initialDelaySeconds: 10
# periodSeconds: 10
# failureThreshold: 30
# readinessProbe:
# httpGet:
# path: /health
# port: 8080
# initialDelaySeconds: 5
# periodSeconds: 10
# failureThreshold: 3
# livenessProbe:
# httpGet:
# path: /health
# port: 8080
# initialDelaySeconds: 15
# periodSeconds: 20
# failureThreshold: 3
volumeMounts:
- name: runtime-config
mountPath: /usr/share/nginx/html/runtime-env.js

View File

@ -11,7 +11,7 @@ const nextConfig = {
formats: ['image/webp', 'image/avif'],
},
env: {
NEXT_PUBLIC_API_URL: process.env.NEXT_PUBLIC_API_URL || 'http://localhost:8080',
NEXT_PUBLIC_API_URL: 'http://kt-event-marketing-api.20.214.196.128.nip.io',
},
// CORS 우회를 위한 API Proxy 설정
async rewrites() {

View File

@ -4,7 +4,7 @@ window.__runtime_config__ = {
// 7개 마이크로서비스 호스트
USER_HOST: process.env.NEXT_PUBLIC_USER_HOST || "http://localhost:8081",
EVENT_HOST: process.env.NEXT_PUBLIC_EVENT_HOST || "http://localhost:8080",
EVENT_HOST: 'http://kt-event-marketing-api.20.214.196.128.nip.io',
CONTENT_HOST: process.env.NEXT_PUBLIC_CONTENT_HOST || "http://localhost:8082",
AI_HOST: process.env.NEXT_PUBLIC_AI_HOST || "http://localhost:8083",
PARTICIPATION_HOST: process.env.NEXT_PUBLIC_PARTICIPATION_HOST || "http://localhost:8084",

View File

@ -1,7 +1,7 @@
import { NextRequest, NextResponse } from 'next/server';
const EVENT_API_HOST =
process.env.NEXT_PUBLIC_EVENT_HOST || 'http://kt-event-marketing-api.20.214.196.128.nip.io';
'http://kt-event-marketing-api.20.214.196.128.nip.io';
const API_VERSION = process.env.NEXT_PUBLIC_API_VERSION || 'v1';
/**

View File

@ -1,7 +1,7 @@
import axios, { AxiosInstance } from 'axios';
// Event Service API 클라이언트
const EVENT_API_BASE_URL = process.env.NEXT_PUBLIC_EVENT_HOST || 'http://localhost:8080';
const EVENT_API_BASE_URL = 'http://kt-event-marketing-api.20.214.196.128.nip.io';
const API_VERSION = process.env.NEXT_PUBLIC_API_VERSION || 'v1';
export const eventApiClient: AxiosInstance = axios.create({