🎯

devops-infra

🎯Skill

from shaul1991/shaul-agents-plugin

VibeIndex|
What it does

Manages DevOps infrastructure by handling Docker resources, scaling, backup, network configuration, and system maintenance tasks across development and production environments.

πŸ“¦

Part of

shaul1991/shaul-agents-plugin(18 items)

devops-infra

Installation

DockerRun with Docker
docker run --rm \
πŸ“– Extracted from docs: shaul1991/shaul-agents-plugin
1Installs
-
AddedFeb 4, 2026

Skill Details

SKILL.md

DevOps Infrastructure Agent. 인프라 관리, μŠ€μΌ€μΌλ§, λ°±μ—…, λ„€νŠΈμ›Œν¬ 섀정을 λ‹΄λ‹Ήν•©λ‹ˆλ‹€. 인프라, μŠ€μΌ€μΌλ§(scale), λ°±μ—…(backup), λ„€νŠΈμ›Œν¬ κ΄€λ ¨ μš”μ²­ μ‹œ μ‚¬μš©λ©λ‹ˆλ‹€.

Overview

# DevOps Infrastructure Agent

μ—­ν• 

인프라 관리 및 λ¦¬μ†ŒμŠ€ μš΄μ˜μ„ λ‹΄λ‹Ήν•©λ‹ˆλ‹€.

λ‹΄λ‹Ή 업무

1. λ¦¬μ†ŒμŠ€ 관리

#### Docker λ¦¬μ†ŒμŠ€

```bash

# λ””μŠ€ν¬ μ‚¬μš©λŸ‰

docker system df

# λ―Έμ‚¬μš© λ¦¬μ†ŒμŠ€ 정리

docker system prune -f

# 이미지 정리 (졜근 5개 μœ μ§€)

docker images nest-api --format "{{.Tag}}" | \

grep -v latest | sort -r | tail -n +6 | \

xargs -I {} docker rmi nest-api:{}

```

#### λ³Όλ₯¨ 관리

```bash

# λ³Όλ₯¨ λͺ©λ‘

docker volume ls --filter "name=nest-api"

# λ³Όλ₯¨ 상세

docker volume inspect nest-api-[dev|prod]_postgres_data

```

2. μŠ€μΌ€μΌλ§

ν˜„μž¬ 단일 μΈμŠ€ν„΄μŠ€ ꡬ성. μŠ€μΌ€μΌλ§ ν•„μš” μ‹œ:

  1. Docker Swarm λ˜λŠ” Kubernetes λ„μž… κ²€ν† 
  2. λ‘œλ“œλ°ΈλŸ°μ„œ ꡬ성
  3. λ°μ΄ν„°λ² μ΄μŠ€ 볡제 μ„€μ •

3. λ°±μ—…

#### λ°μ΄ν„°λ² μ΄μŠ€ λ°±μ—…

```bash

# PostgreSQL λ°±μ—…

docker exec nest-api-postgres-[env] \

pg_dump -U nest_api nest_api > backup_$(date +%Y%m%d).sql

# 볡원

cat backup.sql | docker exec -i nest-api-postgres-[env] \

psql -U nest_api nest_api

```

#### λ³Όλ₯¨ λ°±μ—…

```bash

# λ³Όλ₯¨ 데이터 λ°±μ—…

docker run --rm \

-v nest-api-[env]_postgres_data:/data \

-v $(pwd):/backup \

alpine tar czf /backup/postgres_backup.tar.gz /data

```

4. λ„€νŠΈμ›Œν¬ 관리

#### Caddy μ„€μ •

```bash

# μ„€μ • 파일

cat /etc/caddy/Caddyfile

# μ„€μ • 검증

caddy validate --config /etc/caddy/Caddyfile

# λ¦¬λ‘œλ“œ

systemctl reload caddy

```

#### Docker λ„€νŠΈμ›Œν¬

```bash

# λ„€νŠΈμ›Œν¬ λͺ©λ‘

docker network ls --filter "name=nest-api"

# λ„€νŠΈμ›Œν¬ 상세

docker network inspect nest-api-[dev|prod]

```

인프라 ꡬ성도

```

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”

β”‚ Host Server β”‚

β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€

β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚

β”‚ β”‚ Caddy β”‚ β”‚ Docker β”‚ β”‚

β”‚ β”‚ (Proxy) β”‚ β”‚ (Engine) β”‚ β”‚

β”‚ β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜ β”‚

β”‚ β”‚ β”‚ β”‚

β”‚ β”Œβ”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”€β” β”‚

β”‚ β”‚ Docker Networks β”‚ β”‚

β”‚ β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚

β”‚ β”‚ β”‚ nest-api β”‚ β”‚ nest-api β”‚ β”‚ β”‚

β”‚ β”‚ β”‚ -dev β”‚ β”‚ -prod β”‚ β”‚ β”‚

β”‚ β”‚ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β”‚ β”‚

β”‚ β”‚ β”‚ β”‚ β”‚ β”‚

β”‚ β”‚ β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β–Όβ”€β”€β”€β”€β” β”‚ β”‚

β”‚ β”‚ β”‚ Volumes β”‚ β”‚ Volumes β”‚ β”‚ β”‚

β”‚ β”‚ β”‚ (Dev) β”‚ β”‚ (Prod) β”‚ β”‚ β”‚

β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚

β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚

β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

```

μœ μ§€λ³΄μˆ˜ μž‘μ—…

μ •κΈ° μž‘μ—…

| μ£ΌκΈ° | μž‘μ—… | λͺ…λ Ήμ–΄ |

|------|------|--------|

| 일간 | 둜그 확인 | docker logs --since 24h |

| μ£Όκ°„ | λ””μŠ€ν¬ 정리 | docker system prune -f |

| μ›”κ°„ | DB λ°±μ—… | pg_dump |

비상 절차

  1. μ„œλΉ„μŠ€ 쀑단 μ‹œ: ν—¬μŠ€μ²΄ν¬ β†’ λ‘€λ°± β†’ 원인 뢄석
  2. λ””μŠ€ν¬ λΆ€μ‘± μ‹œ: 이미지/둜그 정리 β†’ λ³Όλ₯¨ ν™•μž₯
  3. λ„€νŠΈμ›Œν¬ μž₯μ•  μ‹œ: Caddy μž¬μ‹œμž‘ β†’ DNS 확인

More from this repository10

🎯
dba-architect🎯Skill

Assists database architects in designing, optimizing, and modeling complex database schemas with intelligent recommendations and structural insights.

🎯
pm-analyst🎯Skill

Analyzes project management data, generating insights and recommendations for improving team productivity and project efficiency.

🎯
frontend-api🎯Skill

Generates and integrates frontend API clients, implementing robust data fetching and client-side API interaction strategies.

🎯
frontend-hook🎯Skill

Designs and implements custom React hooks with advanced state management and side effect handling.

🎯
qa-analyst🎯Skill

Assists quality assurance analysts in documenting, tracking, and managing software testing processes and defect reports efficiently.

🎯
data-engineer🎯Skill

Automates data engineering tasks by providing tools and workflows for extracting, transforming, and loading data across various sources and formats.

🎯
docs-internal🎯Skill

Generates and manages internal technical documentation, including architecture docs, onboarding guides, and ADRs.

🎯
qa-tester🎯Skill

Generates comprehensive test suites for unit, integration, and E2E testing using Jest, covering code validation and quality assurance across different testing levels.

🎯
pm-manager🎯Skill

Manages project schedules, resources, and milestones by coordinating tasks, tracking progress, and facilitating agile project management workflows.

🎯
docs-guide🎯Skill

Generates comprehensive documentation, tutorials, quick starts, and FAQs for user guides with systematic organization.