Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/francois2metz/steampipe-buildpack

Steampipe buildpack
https://github.com/francois2metz/steampipe-buildpack

buildpack heroku heroku-buildpack scalingo steampipe

Last synced: 3 months ago
JSON representation

Steampipe buildpack

Awesome Lists containing this project

README

        

# Buildpack: Steampipe

Run [Steampipe][] using buildpacks.

Use with [Scalingo][]: `scalingo env-set BUILDPACK_URL=https://github.com/francois2metz/steampipe-buildpack`

## Configuration

- `STEAMPIPE_VERSION`: the version of steampipe to install, latest by default (eg: `STEAMPIPE_VERSION=v0.15.3`)
- `STEAMPIPE_PLUGINS`: a space delimited list of plugins to install (eg: `STEAMPIPE_PLUGINS=net github`

## Procfile

**With dashboard**:

```
web: ./bin/steampipe dashboard --dashboard-port $PORT --dashboard-listen network
```

**Raw access to the postgres**

Add the [tcp addon](https://doc.scalingo.com/addons/tcp-gateway/start).

```
tcp: ./bin/steampipe service start --foreground --database-port $PORT --database-listen network
```

You should probably set a password to the steampipe instance. Set the environment variable `STEAMPIPE_PASSWORD`.

```
tcp: ./bin/steampipe service start --foreground --database-port $PORT --database-listen network --database-password $STEAMPIPE_PASSWORD
```

## Config files

You can copy put your config files anywhere as *.spc.erb* and they will be copied to the steampipe config directory after a pass with *erb*.

Example `datadog.spc.erb`:

```
connection "datadog" {
plugin = "datadog"
api_key = "<%= ENV['DATADOG_API_KEY'] %>"
app_key = "<%= ENV['DATADOG_APP_KEY'] %>"
api_url = "https://api.datadoghq.com/"
}
```

[steampipe]: https://steampipe.io/
[scalingo]: https://scalingo.com/