💻 Coding

Docker Compose Service Dependency Map from Stack Inventory (No Invented Replica Counts)

Turn a Docker Compose stack inventory into a service dependency map only. No invented replica counts, CPU totals, or uptime percents beyond the inventory.

0.0
0Reviews
P
September 18, 2026

Prompt

Act as a Docker Compose service-dependency cartographer who only uses a pasted inventory. You write a service dependency map the inventory already supports. You do not invent replica counts, CPU totals, uptime percents, or billing secrets not in Inputs. This is not a Docker Compose brand-kit generator; not a capacity guarantee.
You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs.

Inputs:
- Inventory I lock (service stubs, depends_on cues, network notes): [Inventory]
- Docker Compose / compose file version notes I lock: [Version]
- Stack or project label I may quote (or UNKNOWN): [Workspace]
- Required service or map names I may quote (or UNKNOWN): [SpecNames]
- Service and image labels already present (or UNKNOWN): [ServiceCues]
- depends_on and link labels already present (or UNKNOWN): [DependsCues]
- Network and volume notes already present (or UNKNOWN): [NetworkNotes]
- Words I must not use: [Banned]
- What I must never invent (replica counts, CPU totals, uptime percents, billing secrets): [Never]
- Output format: [Format]
- Language: [Lang]

Generate:
1. Honesty ledger: Inventory nouns, Version, Workspace, SpecNames, ServiceCues, DependsCues, NetworkNotes, Lang. Forbidden: invented replica counts, CPU totals, uptime percents, billing secrets. Banner: not a Docker Compose brand-kit generator; not a capacity guarantee.
2. Service dependency map: one numbered row per Inventory stub or cue. Missing NetworkNotes write NOT IN INPUTS. Use Docker Compose services, depends_on, networks, and volumes language when Inventory supports it. Never print replica-count or CPU VALUES not in Inventory.
3. Spec name set: only names in SpecNames. Unnamed rows stay NOT IN INPUTS. Never invent uptime-percent VALUES not in Inventory.
4. Version lock: print Version. Refuse Docker Compose features newer than Version if Version is named.
5. Refuse list: inventing replica counts, inventing CPU totals, inventing uptime percents, inventing billing secrets.
6. Compliance pass: quote Banned and Never hits. Cut them. Format as Format.

Constraints:
- Map from Inventory only. No invented replica VALUES. Teach Docker Compose service dependency maps, not a Kubernetes or Nomad swap.
- Honor Version. No emojis. Never print secret VALUES; names only.

Instructions

Replace every [bracket] with your details before running. Works on ChatGPT, Claude, and Gemini.

Generated Output

This image was generated using the prompt above.

Docker Compose Service Dependency Map from Stack Inventory (No Invented Replica Counts) - Result

Examples

Example Input

Inventory: service Harbor Quay api as pasted depends_on cue db as pasted network notes harbor-net as pasted; service River Ops worker as pasted depends_on cue redis as pasted. Replica invent NONE. CPU invent NONE.
Version: Compose file 3.8 as pasted (do not invent unreleased AI compose pack)
Workspace: Harbor Quay stack desk as pasted
SpecNames: api dependency map as pasted; worker dependency map as pasted. Uptime percents UNKNOWN.
ServiceCues: api as pasted; worker as pasted. proxy UNKNOWN.
DependsCues: db as pasted; redis as pasted. queue UNKNOWN.
NetworkNotes: harbor-net as pasted. Replica VALUES NOT IN INPUTS.
Banned: guaranteed replicas, replica invent, CPU invent, uptime invent
Never: invent replica counts, invent CPU totals, invent uptime percents, invent billing secrets
Format: ledger + table + specs + version + refuse + compliance
Lang: English

Example Output

1. Ledger. Inventory: service Harbor Quay api as pasted depends_on cue db as pasted network notes harbor-net as pasted; service River Ops worker as pasted depends_on cue redis as pasted. Replica invent NONE. CPU invent NONE. Version Compose file 3.8 as pasted. Workspace Harbor Quay stack desk. SpecNames api dependency map as pasted; worker dependency map as pasted. Uptime percents UNKNOWN. ServiceCues api as pasted; worker as pasted. proxy UNKNOWN. DependsCues db as pasted; redis as pasted. queue UNKNOWN. NetworkNotes harbor-net as pasted. Replica VALUES NOT IN INPUTS. Lang English. Banner: not a Docker Compose brand-kit generator; not a capacity guarantee. Forbidden: invented replica counts, CPU totals, uptime percents, billing secrets, guaranteed replicas, replica invent, CPU invent, uptime invent.

2. Service dependency map.
1. Harbor Quay api | ServiceCues api as pasted | DependsCues db as pasted | NetworkNotes harbor-net as pasted | replica VALUES NONE | CPU NONE | Docker Compose service dependency map only.
2. River Ops worker | ServiceCues worker as pasted | DependsCues redis as pasted | NetworkNotes beyond harbor-net NOT IN INPUTS | replica VALUES NONE | CPU NONE.
Uptime percents UNKNOWN so write uptime-percent VALUES NOT IN INPUTS. proxy not invented beyond ServiceCues.

3. Spec name set. api dependency map as pasted; worker dependency map as pasted as SpecNames. Unnamed rows NOT IN INPUTS. Never invent uptime-percent VALUES.

4. Version lock. Compose file 3.8 as pasted as pasted. Refuse unreleased AI compose pack.

5. Refuse list. inventing replica counts; inventing CPU totals; inventing uptime percents; inventing billing secrets.

6. Compliance. Quoted Banned: guaranteed replicas, replica invent, CPU invent, uptime invent. Cut. Quoted Never: invent replica counts, invent CPU totals, invent uptime percents, invent billing secrets. Cut. Format ledger + table + specs + version + refuse + compliance.

Missing-data policy: if a field was blank, write NOT IN INPUTS rather than guessing. Lock any tool version named in Inputs; if unnamed, write unknown. No invented testimonials, star ratings, or press logos. If legal, clinical, insurance, HR, education-plan, or veterinary content appears, add a one-line not-advice and de-identify banner. Quote banned-word hits and cut them. End with a gaps list of five bullets the user still owes you. Character and byte caps in the job are hard; print counts when relevant. Refuse to backfill DOIs, exam dumps, PHI, PII, or compensation promises not in Inputs.

Reviews (0)

Please login to leave a review.
Loading reviews...