Logo
Explore Help
Register Sign In
cameleer/cameleer-deploy-demo
1
0
Fork 0
You've already forked cameleer-deploy-demo
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
0ab0c579fb27850b135ba9b9d7f8a35391b1dac7
cameleer-deploy-demo/ui/vite.config.ts

22 lines
404 B
TypeScript
Raw Normal View History

feat: complete deploy demo with React UI Backend: - Spring Boot 3.4, Java 21, REST API for app lifecycle - Build pipeline: JAR → Dockerfile → docker build/push → kubectl apply - In-memory state with K8s reconciliation on startup - Configurable via env vars Frontend: - React 19 + @cameleer/design-system v0.1.26 - Dashboard table with status polling (5s) - Deploy dialog with drag-and-drop JAR upload - Resource limit/request configuration - Environment variable editor - Build log viewer - Delete with confirmation dialog Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-03 00:20:48 +02:00
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
const apiTarget = process.env.VITE_API_TARGET || 'http://localhost:8082';
export default defineConfig({
plugins: [react()],
server: {
port: 5174,
proxy: {
'/api/': {
target: apiTarget,
changeOrigin: true,
secure: false,
},
},
},
build: {
outDir: 'dist',
},
});
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 117ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API