Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/binocarlos/powerstrip-debug

A powerstrip adapter that logs requests to stdout.
https://github.com/binocarlos/powerstrip-debug

Last synced: 10 days ago
JSON representation

A powerstrip adapter that logs requests to stdout.

Awesome Lists containing this project

README

        

powerstrip-debug
================

A [Powerstrip](https://github.com/ClusterHQ/powerstrip) adapter that logs requests to stdout.

## install

```bash
$ docker build -t binocarlos/powerstrip-debug .
```

## run the adapter

```bash
$ docker run -d --name powerstrip-debug \
--expose 80 \
binocarlos/powerstrip-debug
```

It can be handy to run the debug adapter in its own shell and leave it attached so you can see its output as requests are made:

```bash
$ docker run -ti --rm --name powerstrip-debug \
--expose 80 \
binocarlos/powerstrip-debug
```

## run powerstrip

First create a powerstrip configuration with the debug adapter:

```bash
$ mkdir -p ~/powerstrip-demo
$ cat > ~/powerstrip-demo/adapters.yml <