Introduce Kubernetes manifests for backend, frontend, ingress, storage, and namespace setup under k8s/. Add Gitea Actions workflow for automated build and deployment to Kubernetes. Provide deployment and cluster setup guides in docs/ and project root. Update .gitignore to exclude Kubernetes secret files.
33 lines
742 B
YAML
33 lines
742 B
YAML
# vexplor ConfigMap - 환경 설정
|
|
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: vexplor-config
|
|
namespace: vexplor
|
|
labels:
|
|
app: vexplor
|
|
data:
|
|
# 공통 설정
|
|
NODE_ENV: "production"
|
|
TZ: "Asia/Seoul"
|
|
|
|
# Backend 설정
|
|
BACKEND_PORT: "3001"
|
|
BACKEND_HOST: "0.0.0.0"
|
|
JWT_EXPIRES_IN: "24h"
|
|
LOG_LEVEL: "info"
|
|
CORS_CREDENTIALS: "true"
|
|
|
|
# Frontend 설정
|
|
FRONTEND_PORT: "3000"
|
|
FRONTEND_HOSTNAME: "0.0.0.0"
|
|
NEXT_TELEMETRY_DISABLED: "1"
|
|
|
|
# 내부 서비스 URL (클러스터 내부 통신)
|
|
INTERNAL_BACKEND_URL: "http://vexplor-backend-service:3001"
|
|
|
|
# 외부 URL (클라이언트 접근용)
|
|
NEXT_PUBLIC_API_URL: "https://api.vexplor.com/api"
|
|
CORS_ORIGIN: "https://v1.vexplor.com,https://api.vexplor.com"
|
|
|