Files
cameleer-deploy-demo/ui/vite.config.ts
hsiegeln 5ed0d80695 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

22 lines
404 B
TypeScript

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',
},
});