diff --git a/.gitignore b/.gitignore index bd9dad3..da36ba0 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,8 @@ docker-compose.override.yml # Claude Code project instructions (local only) CLAUDE.md + +# Dev artifacts +dev.env +backend/vessel-backend +data/ diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 61c9488..30befdb 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -4,11 +4,12 @@ import { defineConfig } from 'vite'; // Use environment variable or default to localhost (works with host network mode) const ollamaUrl = process.env.OLLAMA_API_URL || 'http://localhost:11434'; const backendUrl = process.env.BACKEND_URL || 'http://localhost:9090'; +const devPort = parseInt(process.env.DEV_PORT || '7842', 10); export default defineConfig({ plugins: [sveltekit()], server: { - port: 7842, + port: devPort, proxy: { // Backend health check '/health': {