Sign inSign up

panuwitp/simple-api

By panuwitp

•Updated about 4 years ago

simple api (fastapi) for test

Image
0

364

panuwitp/simple-api repository overview

simple api for test (alpine+fastapi+uvicorn)

⁠how-to
docker run -d -p 8000:8000 panuwitp/simple-api
⁠example result ( GET http://{ip-address}:{port}/ )
{
	"hostname": "hostname",
	"os_description": ["os", "hostname", "kerrnel", "os-build", "arch"],
	"message": "hello world, this is simple api for test"
}
⁠or swagger ui
http://{ip-address}:{port}/docs

Tag summary

Content type

Image

Digest

sha256:e66261c87…

Size

34.3 MB

Last updated

about 4 years ago

docker pull panuwitp/simple-api