rd13_media_wiki/.github/prompts/docker.prompt.md
Conrad Schulz 2a72e08c13 chore: add GitHub Copilot AI config (instructions, prompts, vscode settings)
- Add .github/copilot-instructions.md with project-specific context
- Add .github/prompts/ with 9 reusable agent prompt files
- Add .vscode/extensions.json recommending copilot extensions
- Update .vscode/settings.json with rulers and YAML schema
- Remove tracked .DS_Store
2026-05-30 10:55:16 +00:00

30 lines
911 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
mode: agent
description: Docker / Compose Service analysieren, debuggen oder erweitern
tools:
- codebase
- editFiles
- runCommands
- terminalLastCommand
---
# Docker / Infrastructure
**Aufgabe:** ${input:task:Was soll analysiert, gefixt oder gebaut werden?}
## Kontext
- Basis: Docker Compose
- Umgebung: Linux-Server (remote via VS Code Server)
- Typische Services: Datenbank, App-Container, Reverse Proxy
## Workflow
1. Bestehende `docker-compose.yml` und `.env`-Dateien lesen
2. Logs / Fehlermeldungen analysieren (terminalLastCommand)
3. Minimale Änderung umsetzen
4. Validierung: `docker compose config` für Syntax, Service-Status prüfen
## Sicherheitsregeln
- Keine Secrets in docker-compose.yml immer `.env` oder Docker Secrets
- Ports nur soweit nötig exponieren
- Container nie als root (außer explizit begründet)
- Images immer mit Tag pinnen (kein `:latest` in Produktion)