npx skills add smithery/pluginagentmarketplace --skill postgresql-docker
pluginagentmarketplace/custom-plugin-postgresql · Archived
postgresql-docker
PostgreSQL in containers - Docker, Kubernetes, production configs
Installation
npx skills add pluginagentmarketplace/custom-plugin-postgresql --skill postgresql-docker
Stronger alternatives
This repository is archived — consider an actively maintained alternative.
Write PL/pgSQL - functions, procedures, triggers, error handling
8 installsMaster advanced PostgreSQL queries - CTEs, window functions, recursive queries
8 installsMaster PostgreSQL SQL fundamentals - data types, tables, constraints, schema design
6 installsPostgreSQL monitoring - metrics, alerting, observability
3 installsSimilar popular skills
Related neighbors and high-traction skills in the same topics — useful to compare before installing.
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill …
391.6K installsPrisma ORM CLI commands reference covering init, generate, migrate, db, dev, complete, studio, …
267K installsUse when doing ANY task involving Supabase. Triggers: Supabase products (Database, Auth, Edge F…
263K installs>- Guides and best practices for working with Lakebase Postgres, the database behind Neon. Cove…
146.5K installsPostgreSQL-specific development assistant focusing on unique PostgreSQL features, advanced data…
15.3K installsAlso in this package
Other skills from pluginagentmarketplace/custom-plugin-postgresql · top by installs.
npx skills add pluginagentmarketplace/custom-plugin-postgresql
Browse all from pluginagentmarketplace/custom-plugin-postgresql
More details
Agent compatibility
Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.
Also listed on
Alternate registries and mirrors of this skill.
Repository health
main
Skill metadata
Parsed from SKILL.md frontmatter.
Package contents
Files included with this skill beyond the listing page.
-
skill md
SKILL.md2,363 B -
docs
SUMMARY.md90 B
History
- First seen on skills.sh
- First recorded snapshot · 3 installs
SKILL.md
PostgreSQL Docker Skill
Atomic skill for containerized PostgreSQL
Overview
Production-ready patterns for Docker and Kubernetes PostgreSQL deployments.
Prerequisites
- Docker or Kubernetes
- Understanding of volumes
- Resource planning
Parameters
parameters:
platform:
type: string
required: true
enum: [docker, kubernetes, compose]
environment:
type: string
enum: [development, staging, production]
Quick Reference
Docker Compose
version: '3.8'
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
PGDATA: /var/lib/postgresql/data/pgdata
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
healthcheck:
test: ["CMD-SHELL", "pg_isready"]
interval: 10s
deploy:
resources:
limits:
memory: 4G
command:
- postgres
- -c
- shared_buffers=1GB
- -c
- max_connections=200
volumes:
postgres_data:
Kubernetes StatefulSet
apiVersion: apps/v1
kind: StatefulSet
spec:
template:
spec:
containers:
- name: postgres
image: postgres:16
resources:
limits:
memory: "4Gi"
readinessProbe:
exec:
command: ["pg_isready"]
volumeMounts:
- name: data
mountPath: /var/lib/postgresql/data
Configuration Tips
# Pass config via command
postgres -c shared_buffers=1GB -c work_mem=64MB
# Use init scripts
./init.sql -> /docker-entrypoint-initdb.d/
Resource Guidelines
| Workload | Memory | CPU |
|---|---|---|
| Dev | 512MB | 0.5 |
| Staging | 2GB | 1 |
| Production | 4GB+ | 2+ |
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
| OOM killed | Low memory limit | Increase limits |
| Slow startup | No init cache | Use pg_prewarm |
| Data loss | No volume | Mount persistent volume |
Usage
Skill("postgresql-docker")