# Manage Infra

> Starts or stops the Docker Compose infrastructure (Postgres 17). Use when this capability is needed.

- Skill: `tomevault-io/manage-infra` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/manage-infra`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/manage-infra/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/manage-infra

---


# Skill: Manage Infrastructure

## Visual Studio Code Tasks

- **To Start:** Run the VS Code task: `"Start Docker Compose"`.
    - This builds and starts containers in detached mode using `./docker/docker-compose.yaml`.
- **To Stop:** Run the VS Code task: `"Stop Docker Compose"`.
- **To Reset (Wipe Data):** Run the VS Code task: `"Stop & Remove Volumes"`.

## Docker Compose

From the project root directory:

- **To Start:** Run the Docker Compose command:

   ```bash
   docker compose -f ./docker/docker-compose.yaml up -d
   ```

- **To Stop:** Run the Docker Compose command:

   ```bash
   docker compose -f ./docker/docker-compose.yaml down
   ```

- **To Reset (Wipe Data):** Run the Docker Compose command:

   ```bash
   docker compose -f ./docker/docker-compose.yaml down -v
   ```

### Verification

- Make sure the arch-stats container started successfully before starting the Backend or
   Frontend servers:

   ```bash
   docker compose -f ./docker/docker-compose.yaml ps --all
   ```

   This means:

    - arch-stats-db-1 is healthy
    - arch-stats-migrations-1 exited successfully (exit code 0)

### Logs

- **To View Logs:** Run the Docker Compose command:

   ```bash
   docker compose -f ./docker/docker-compose.yaml logs
   # or
   docker compose -f ./docker/docker-compose.yaml logs db
   # or
   docker compose -f ./docker/docker-compose.yaml logs migrations
   ```

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/jpmolinamatute) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

