Compare commits

..

No commits in common. "bb44a733dc3a1d2f24b58e553d879d6ddb2a6d75" and "45ffd9609015ac291663a3b6f8877f7ad3ef4fde" have entirely different histories.

5 changed files with 25 additions and 25 deletions

View File

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

View File

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

View File

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

View File

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

View File

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