一键导入
12-reset-docker-environment
Stops and removes local Pronghorn nginx/frontend, api, and postgresql/db containers, then lists containers to verify cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Stops and removes local Pronghorn nginx/frontend, api, and postgresql/db containers, then lists containers to verify cleanup.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill will guide you through the process of setting up PostgreSQL on your local machine.
This skill will guide you through running the PostgreSQL schema migration for Pronghorn development.
This skill will guide you through setting up the local API server for Pronghorn development, including installing dependencies, configuring environment variables, and starting the server.
This skill will guide you through setting up the local frontend for Pronghorn development, including installing dependencies, configuring .env.local, and starting the Vite development server.
This skill verifies the local Pronghorn stack by checking frontend, API health endpoint, and local PostgreSQL readiness.
Automates Docker Compose full-stack workflows for local Pronghorn development, including build prerequisites, startup, verification, logs, stop, and reset operations.
| name | 12.reset-docker-environment |
| description | Stops and removes local Pronghorn nginx/frontend, api, and postgresql/db containers, then lists containers to verify cleanup. |
| argument-hint | Use this skill to reset Docker containers for frontend(nginx), api, and db(postgresql). |
| compatibility | ["linux","macos","windows"] |
| license | MIT |
| user-invokable | true |
This skill follows the same wrapper-first automation pattern used in previous local setup skills.
Scope:
frontend (nginx), api, and db (postgresql)Use wrapper entrypoints. These wrappers call internal scripts and keep usage consistent.
setup-reset-docker-environment.ps1setup-reset-docker-environment.shMaintainer note:
Manage-ResetDockerEnvironment.ps1manage-reset-docker-environment.shSet-Location .github/skills/12.reset-docker-environment/scripts
.\setup-reset-docker-environment.ps1 -Action all
cd .github/skills/12.reset-docker-environment/scripts
bash ./setup-reset-docker-environment.sh all
Targets Compose services: frontend, api, and db.
Set-Location .github/skills/12.reset-docker-environment/scripts
.\setup-reset-docker-environment.ps1 -Action reset-containers
cd .github/skills/12.reset-docker-environment/scripts
bash ./setup-reset-docker-environment.sh reset-containers
Runs container list operation to confirm cleanup.
Set-Location .github/skills/12.reset-docker-environment/scripts
.\setup-reset-docker-environment.ps1 -Action list-containers
cd .github/skills/12.reset-docker-environment/scripts
bash ./setup-reset-docker-environment.sh list-containers
Runs reset and verification in order:
Set-Location .github/skills/12.reset-docker-environment/scripts
.\setup-reset-docker-environment.ps1 -Action all
cd .github/skills/12.reset-docker-environment/scripts
bash ./setup-reset-docker-environment.sh all
docker container ls -a --format "table {{.Names}}\t{{.Status}}"
Expected: no frontend, api, or db containers from the Pronghorn compose stack.