You'll need Docker installed. Powerpipe connects to Steampipe as its data source — the simplest way to run both is Docker Compose.
The fastest way to get dashboards running:
# Clone the examples
curl -O https://raw.githubusercontent.com/devops-ia/powerpipe/main/examples/docker-compose.yml
# Start Steampipe + Powerpipe
docker compose up -d
# Open dashboards
open http://localhost:9033docker network create powerpipe-netPowerpipe needs a running Steampipe PostgreSQL endpoint:
docker run -d --name steampipe \
--network powerpipe-net \
-p 9193:9193 \
-e STEAMPIPE_DATABASE_PASSWORD=mypassword \
ghcr.io/devops-ia/steampipe:2.4.1 \
steampipe service start --foreground --database-listen networkdocker exec steampipe steampipe plugin install awsdocker run -d --name powerpipe \
--network powerpipe-net \
-p 9033:9033 \
-e POWERPIPE_DATABASE="postgresql://steampipe:mypassword@steampipe:9193/steampipe" \
ghcr.io/devops-ia/powerpipe:1.5.1# Install the AWS Compliance mod
docker exec powerpipe powerpipe mod install github.com/turbot/steampipe-mod-aws-complianceNavigate to http://localhost:9033 in your browser.
Using the example compose file from this repo:
services:
steampipe:
image: ghcr.io/devops-ia/steampipe:2.4.1
command: ["steampipe", "service", "start", "--foreground", "--database-listen", "network"]
environment:
STEAMPIPE_DATABASE_PASSWORD: steampipe
volumes:
- steampipe-data:/home/steampipe/.steampipe
- ./aws.spc:/home/steampipe/.steampipe/config/aws.spc:ro
healthcheck:
test: ["CMD", "pg_isready", "-h", "localhost", "-p", "9193"]
interval: 10s
timeout: 5s
retries: 5
powerpipe:
image: ghcr.io/devops-ia/powerpipe:1.5.1
command: ["powerpipe", "server", "--listen", "network"]
ports:
- "9033:9033"
environment:
POWERPIPE_DATABASE: "postgresql://steampipe:steampipe@steampipe:9193/steampipe"
volumes:
- ./workspace:/workspace
depends_on:
steampipe:
condition: service_healthy
volumes:
steampipe-data:docker compose up -d- Configuration — database connection, env vars, mod workspace
- Examples — running benchmarks, AWS compliance, mod patterns
- Kubernetes — deploy with Helm