You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	httpbin
httpbin is a HTTP Request & Response Service, written in Python + Flask.
docker-compose.yml
version: "3.8"
services:
  httpbin:
    image: vimagick/httpbin
    ports:
      - "8000:8000"
    restart: unless-stopped
up and running
$ docker-compose up -d
$ curl http://127.0.0.1:8000/ip
$ curl http://127.0.0.1:8000/get
$ curl http://127.0.0.1:8000/post -d hello=world