Start, stop, or check status of local dev environment using Podman Compose. Database, app services, migrations, health checks. Use when user says "start local env", "podman compose up", "dev environment status".
Start, stop, or check status of local development environment using Podman Compose.
| Input | Type | Default | Purpose |
|---|---|---|---|
repo | string | required | Path to repo with podman-compose.yaml |
action | string | "status" | start, stop, status, restart |
run_migrations | bool | false | Run DB migrations after start |
health_check | bool | true | Run health check after start |
Load devops persona (podman, systemd). May need developer for curl; database for psql.
persona_load("devops") — podman toolssystemctl_is_active(unit="podman.socket") — ensure Podman socket activepodman_compose_status(project_dir=repo) — compose statuspodman_ps() — running containerspodman_compose_down(project_dir=repo)podman_compose_up(project_dir=repo, detach=true)podman_compose_status(project_dir=repo) — verify statuspodman_logs(container="{repo_basename}-app-1", tail=30) — recent logspodman_exec(container="{repo_basename}-app-1", command="python manage.py migrate")psql_tables() — list tables (verify DB ready)psql_query(query="SELECT 1 as health_check;") — connectivitycurl_get(url="http://localhost:8000/api/v1/health/") — API healthcurl_timing(url="http://localhost:8000/api/v1/health/") — response timepodman_compose_down firstpodman_logsmemory_session_log("Local dev environment: {action}", "repo={repo}")podman_logs(container="<name>", tail=50)run_migrations: true in inputsskill_run("local_dev_environment", '{"repo": "...", "action": "restart"}')