Skip to content

MustafaSaber/server-stats

Repository files navigation

Main Workflow

Server Stats

A simple project to get server statistics (RAM/CPU/DISK) of CentOS machine over time

Requirements

  • ansible
  • pip3
  • precommit
  • docker (Optional)

Install python packages requirements via pip3 install -r requiements.txt you can go an extra mile and make virtual env for your project.

Deploying To Host

Using this script will deploy to the specific hosts, change in hosts file and add your specifc machine. To access the current machine reach out for the repo administrator.

Dockerizing application and push to DockerHub via this script, it will use .docker-secret in application root folder. You can run cp .docker-secret-sample .docker-secret and change in it's values.