feat: add VS Code Compose tasks for local full-stack testing
Adds Compose: Build & Up, Up, Down, Logs tasks for both Windows and Linux, allowing the complete app to be tested locally via docker-compose on port 8080. Updates README task table to reflect all available tasks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -121,11 +121,17 @@ Open the Command Palette (`Ctrl+Shift+P`) → **Tasks: Run Task**:
|
||||
|
||||
| Task | Platform | Description |
|
||||
|---|---|---|
|
||||
| `Docker: Build` | Windows / Linux | Build multi-arch image |
|
||||
| `Compose: Build & Up` | Windows / Linux | Build image and start the full stack locally (`http://localhost:8080`) |
|
||||
| `Compose: Up` | Windows / Linux | Start with the last-built image |
|
||||
| `Compose: Down` | Windows / Linux | Stop and remove containers |
|
||||
| `Compose: Logs` | Windows / Linux | Follow container output |
|
||||
| `Docker: Build` | Windows / Linux | Build registry image |
|
||||
| `Docker: Push` | Windows / Linux | Push to `192.168.0.19:5000` |
|
||||
| `Docker: Build & Push` | Windows / Linux | Build then push |
|
||||
| `Docker: Multi-arch Build & Push` | Windows / Linux | `buildx` push for ARM64 + AMD64 |
|
||||
| `Backend: Run` | Both | `go run ./cmd/server` |
|
||||
| `Frontend: Dev` | Both | `npm run dev` |
|
||||
| `Frontend: Build` | Both | Production Vite build |
|
||||
|
||||
## License
|
||||
|
||||
|
||||
Reference in New Issue
Block a user