Commit graph

5 commits

Author SHA1 Message Date
8d2def360e Extract YAML validation to separate module
- Created yaml-validator.js with pure validation functions
- Removed redundant checkYAMLFormatting function (rely on js-yaml)
- Fixed function shadowing issues by using window._validateYAMLPure
- Updated nginx config to serve JS files with correct MIME type
- Improved error reporting with line/column numbers from js-yaml
2025-10-31 13:28:38 -07:00
4e108c7d7f Add Docker Compose structure validation to YAML editor
- Enhanced validation beyond YAML syntax
- Checks for required Docker Compose structure (services, volumes)
- Validates volume references match defined volumes
- Validates port formats
- Provides clear error messages for Docker Compose issues
- Keeps js-yaml for syntax validation (simple and fast)
2025-10-31 12:03:31 -07:00
165f341946 Add missing CSS styles for YAML editor 2025-10-31 11:56:24 -07:00
1406f9f120 Add YAML editor with real-time linting
- Added editable YAML textarea
- Real-time YAML validation with js-yaml library
- Visual feedback for valid/invalid YAML
- Ability to create server from edited YAML
- Download edited YAML functionality
2025-10-31 11:55:45 -07:00
c31e48e2b1 Proof of concept: Container management with FastAPI backend
- FastAPI backend with REST API endpoints
- SQLite database for container metadata
- Docker/Podman SDK integration with label filtering
- Frontend: Server creation form and management page
- Container operations: create, list, start, stop, delete
- Single container deployment (nginx + Python + supervisor)
- Support for Docker and Podman (rootless)
- Volume management for persistent data
2025-10-31 11:50:31 -07:00