A Skeleton Python Service.
This is the simplist microservice ever.
The application is run with docker
and docker-compose
. Please use the following links to install.
First clone the repository with:
git clone https://github.com/diversemix/skel-python-service.git
Then change to the root folder then build and start with docker-compose:
cd skel-python-service
docker-compose build
docker-compose up -d
You can change the message in: config.json
curl localhost:5000/v1/status
Now for a POST
curl -X POST -H "Content-Type: application/json" --data "[1,2,3]" localhost:5000/v1/query