https://github.com/mustafasaber/server-stats
Automate deploying scripts to server.
https://github.com/mustafasaber/server-stats
ansible pre-commit
Last synced: about 2 months ago
JSON representation
Automate deploying scripts to server.
- Host: GitHub
- URL: https://github.com/mustafasaber/server-stats
- Owner: MustafaSaber
- Created: 2021-05-23T18:05:18.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-15T14:28:12.000Z (about 5 years ago)
- Last Synced: 2025-01-30T10:44:48.147Z (over 1 year ago)
- Topics: ansible, pre-commit
- Language: Python
- Homepage:
- Size: 29.3 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# 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](./scripts/deploy_server.sh) will deploy to the specific [hosts](./ansible/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](./scripts/publish_dockerhub.sh), it will use `.docker-secret` in application root folder. You can run `cp .docker-secret-sample .docker-secret` and change in it's values.