infra-docker

Automate Docker Compose setup for PostgreSQL and related services.

9|2|Updated Jan 31, 2026
One-click install
npx skills add https://github.com/aussiegingersnap/cursor-skills --skill infra-docker
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: infra-docker
Source: https://github.com/aussiegingersnap/cursor-skills/tree/main/skills/infra-docker
Command: npx skills add https://github.com/aussiegingersnap/cursor-skills --skill infra-docker

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Local development environments can be brittle and inconsistent; this skill provides a Docker Compose-based blueprint to spin up PostgreSQL and supporting services, enabling reproducible setups across projects.

Core Features & Use Cases

  • Create a minimal PostgreSQL development stack with health checks and persistent data volumes.
  • Extend the stack with Redis, pgAdmin, and optional S3-compatible storage for richer local environments.
  • Use for standardized onboarding, testing, and local dev workflows that mirror production.

Quick Start

Create a docker-compose.yml at the project root and start the services with a single command.

Frequently Asked Questions about infra-docker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a local development environment with Docker Compose and PostgreSQL?

You can extend a Docker Compose local development stack by adding Redis, pgAdmin, and optional S3-compatible storage, enabling richer environments that mirror production for testing and standardized onboarding.

Can I add Redis and pgAdmin to a Docker Compose PostgreSQL stack?

You can extend a Docker Compose local development stack by adding Redis, pgAdmin, and optional S3-compatible storage, enabling richer environments that mirror production for testing and standardized onboarding.

What is the best way to manage environment variables for containerized local dev services?

Docker Compose handles database migrations and initial service startup by automating robust local development environments, using configured health checks to verify service readiness before executing data operations.

How do Docker Compose health checks work for PostgreSQL service startup?

Docker Compose handles database migrations and initial service startup by automating robust local development environments, using configured health checks to verify service readiness before executing data operations.

Does this Docker Compose approach support data persistence for local databases?

You should not use this Docker Compose approach when your project requires avoiding containerized services or when your local development environment lacks reproducible database and Docker runtime dependencies.

When should I not use a Docker Compose blueprint for local development?

You should not use this Docker Compose approach when your project requires avoiding containerized services or when your local development environment lacks reproducible database and Docker runtime dependencies.