rd13_copilot_setup/prompts/docker.prompt.md
Conrad Schulz 9838c7a0b3 feat: initial copilot workspace setup
- User settings.json with 9 senior-dev behavior rules
- 9 prompt files: requirements, architecture, new-feature, code-review,
  debug, refactor, write-tests, done-check, docker
- git-templates for .github/ and .vscode/ auto-copy on git init
- deploy.sh (macOS/bash) and deploy.fish (Linux/fish) scripts
- copilot-bootstrap.fish for existing/cloned repos
2026-05-29 08:19:50 +00:00

30 lines
911 B
Markdown
Raw Permalink 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)