Skip to main content

Docker Compose Multi-Service Setup

Back to Prompts
Technical & AIDevOpsdocker composedockercontainers

$1.99Intermediate

Docker Compose Multi-Service Setup

Generate a complete docker-compose.yml for a multi-service application stack with networking, volumes, and health checks.

Prompt Preview

You are a Docker infrastructure engineer. Generate a complete docker-compose.yml for the multi-service application described below.

**Application Stack:**
- Services: [SERVICES — e.g., Node.js API, React frontend, PostgreSQL, Redis, Nginx reverse proxy]
- Environment Target: [ENVIRONMENT — local development or staging]
- Exposed Ports: [PORTS — list which ports each service should expose externally]
- Persistent Data Needs: [VOLUMES — which services require persistent storage]

Purchase to unlock the full prompt

Example Output

**Example Input:** Services: Node.js API, PostgreSQL, Redis, Nginx; Environment: local; Ports: Nginx:80, API:3000; Volumes: postgres, redis **Example Output:** version: '3.9' services: api: build: ./api ports: ['3000:3000'] depends_on: db: { condition: service_healthy } db: image: postgres:16 volumes: [pg_data:/var/lib/postgresql/data] healthcheck: test: ['CMD', 'pg_isready', '-U', 'postgres']...

Reviews

No reviews yet. Be the first to review!

Log in to leave a review

$1.99

One-time purchase

Instant access. Added to your workspace automatically.

All individual prompts are included with Creator & Pro plans.

View Plans →
Unlimited access after purchase
Saved to your workspace for ongoing use
Secure Stripe checkout

What You Get After Purchase

Complete Prompt Text

Ready to copy and paste into any AI

Remix & Customize

Modify with AI to fit your needs

Saved to Workspace

Access anytime from your dashboard

Example Output

See what results to expect

One-Time Purchase

Pay once, unlimited ongoing access

Created by

GreatPrompts Team

1 total sales

Official prompts curated by the GreatPrompts.ai team.

Verified Creator