Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 514 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 514 Bytes

Container Observer API

This repo is an micro flask API with only one GET endpoint who let you see the status of yours docker containers

Installation

  • 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()" &

Usage

curl -H "Authorization: Bearer YOUR_API_TOKEN" http://YOUR_SERVER_IP:5000/api/containers