This is a web application providing detailed information about itself and its runtime environment
- Python 3.14.0
python -m venv venv
source venv/bin/activate
pip install -r requirements.txtYou can create .env file storing all enviroment values. To run application simply type:
python app.pyYou can also build, pull, and run this app using Docker.
To build simply run:
docker build -t devops .To pull simply run:
docker pull docker.io/kosmogor/devopsTo run simply run:
docker run devops:latestApp can be easily tested after installation by simply running:
pytest /testsGET /- Service and system informationGET /health- Health checkGET /visits- Root endpoint visits count
Supported enviroment values:
HOST- address for running appPORT- port for running appDEBUG-[true/false]enable debug features or not