This repo is an micro flask API with only one GET endpoint who let you see the status of yours docker containers
- Clone the repo on the server then
- Create your TOKEN and replace it in the command below
pip install -r requirements.txt && sudo ufw allow 5000 && API_TOKEN=YOUR_API_TOKEN gunicorn -w 4 -b 0.0.0.0:5000 "main:create_app()" &
curl -H "Authorization: Bearer YOUR_API_TOKEN" http://YOUR_SERVER_IP:5000/api/containers