Skip to content

romainds-tech/containerObserverAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages