Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/matrixik/docker-http-print
Print back all requests
https://github.com/matrixik/docker-http-print
Last synced: 24 days ago
JSON representation
Print back all requests
- Host: GitHub
- URL: https://github.com/matrixik/docker-http-print
- Owner: matrixik
- License: unlicense
- Created: 2017-09-25T13:17:38.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-16T11:49:16.000Z (over 5 years ago)
- Last Synced: 2024-10-15T22:49:39.083Z (2 months ago)
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker HTTP print
Start it on some port (default to "8080") and it will print all request data
that will reach it.You can change default port with `PORT` env variable.
```bash
$ docker build -t docker-http-print .
$ docker run -e PORT=8090 -it --rm -p 8090:8090 docker-http-print
```In Docker Compose file:
```yaml
http-print:
image: docker-http-print
environment:
PORT: 8090
LOGSPOUT: ignore
ports:
- "8090:8090"
```## From Docker Hub:
```bash
$ docker run -e PORT=8090 -it --rm -p 8090:8090 matrixik/http-print
```In Docker Compose file:
```yaml
http-print:
image: matrixik/http-print
environment:
PORT: 8090
LOGSPOUT: ignore
ports:
- "8090:8090"
```