2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-12-31 01:57:22 +01:00
Files
dockerfiles_vimagick/httpbin/README.md
2022-02-14 18:23:42 +08:00

28 lines
430 B
Markdown

httpbin
=======
![](https://badge.imagelayers.io/vimagick/httpbin:latest.svg)
[httpbin][1] is a HTTP Request & Response Service, written in Python + Flask.
## docker-compose.yml
```yaml
version: "3.8"
services:
httpbin:
image: vimagick/httpbin
ports:
- "8000:8000"
restart: unless-stopped
```
## up and running
```bash
$ docker-compose up -d
$ curl http://127.0.0.1:27815/ip
```
[1]: http://httpbin.org