{"id":21733894,"url":"https://github.com/ihebbelhadj/opsforge","last_synced_at":"2026-04-11T13:32:51.257Z","repository":{"id":262171467,"uuid":"886217903","full_name":"IhebBelhadj/OpsForge","owner":"IhebBelhadj","description":"OpsForge is a DevOps automation setup with Vagrant, Docker, Jenkins, and Kubernetes for CI/CD, monitoring, and deployment.","archived":false,"fork":false,"pushed_at":"2024-11-17T16:39:15.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T00:16:37.433Z","etag":null,"topics":["artifact-management","automation","ci-cd","devops","docker","infrastructure-as-code","jenkins","kubernetes","monitoring"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IhebBelhadj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-10T14:08:19.000Z","updated_at":"2024-11-17T16:39:18.000Z","dependencies_parsed_at":"2025-01-25T20:51:08.349Z","dependency_job_id":null,"html_url":"https://github.com/IhebBelhadj/OpsForge","commit_stats":null,"previous_names":["ihebbelhadj/ci-cd_pipeline","ihebbelhadj/opsforge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhebBelhadj%2FOpsForge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhebBelhadj%2FOpsForge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhebBelhadj%2FOpsForge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IhebBelhadj%2FOpsForge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IhebBelhadj","download_url":"https://codeload.github.com/IhebBelhadj/OpsForge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244711962,"owners_count":20497418,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artifact-management","automation","ci-cd","devops","docker","infrastructure-as-code","jenkins","kubernetes","monitoring"],"created_at":"2024-11-26T05:06:56.543Z","updated_at":"2025-12-31T00:03:57.474Z","avatar_url":"https://github.com/IhebBelhadj.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Project: OpsForge\n\n### Overview\nOpsForge is a local DevOps infrastructure setup designed to automate the build, test, and deployment processes for applications using Vagrant, Jenkins, and Kubernetes. This setup integrates CI/CD best practices, artifact management, and real-time monitoring for efficient deployment workflows and app server management.\n\n### Features\n- **Automated CI/CD Pipeline**: Triggered by Git webhooks, the pipeline automates building, testing, and deployment using Jenkins.\n- **Kubernetes App Clusters**: Deployed on a Kubernetes cluster, app servers are updated dynamically to pull the latest Docker images.\n- **Monitoring \u0026 Visualization**: Integrated with Prometheus and Grafana for real-time performance monitoring and visualization.\n- **Artifact Management**: Uses Nexus for efficient artifact and dependency management.\n- **Code Quality Analysis**: SonarQube integration for continuous code quality checks.\n\n### Architecture\n- **Vagrant**: Manages virtual machines for the CI/CD environment.\n- **Jenkins**: Core CI/CD orchestrator, configured to automate builds and trigger deployments.\n- **SonarQube**: Performs code quality analysis and enforces coding standards.\n- **Nexus**: Serves as a local repository to cache dependencies and artifacts.\n- **Kubernetes**: Manages clusters for app servers, enabling container orchestration and scalability.\n- **Prometheus \u0026 Grafana**: Provides monitoring, logging, and visualization of resource metrics.\n\n### Prerequisites\n- **Vagrant** and **VirtualBox** installed on your local machine.\n- **Docker** installed for building and managing Docker images.\n- **Kubernetes** cluster configured within the VMs.\n\n### Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/IhebBelhadj/OpsForge.git\n\n   ```\n2. **Launch the VM cluster**\n ```bash\n   cd OpsForge\n   chmod +x init.sh\n   ./init.sh\n   ```\n\n3. Acess services in VMs\n\u003e **_NOTE:_**  The IP addresses and ports  for the services\n\u003e CI/CD server IP : `192.168.56.10`\n##### service ports table \n| Service               | Container Name    | Host Port | Container Port |\n|-----------------------|-------------------|-----------|----------------|\n| Nexus                 | nexus             | 8081      | 8081           |\n| PostgreSQL (SonarQube)| db                | (No port exposed) | (No port exposed) |\n| SonarQube             | sonarqube         | 9000      | 9000           |\n| Prometheus            | prometheus        | 9090      | 9090           |\n| Grafana               | grafana           | 3000      | 3000           |\n| MySQL                 | mysql             | 3306      | 3306           |\n\n\u003e App server IP address: `192.168.56.20`\n\n4. **Setup Jenkins pipeline**\n* Access Jenkins at http://\u003cJenkins_VM_IP\u003e:8080.\n* Configure the Jenkinsfile to specify your repository and webhook triggers.\n* Configure jenkins credentials\n\n### Usage\n* Push code to the Git repository to trigger the CI/CD pipeline.\n* View live application logs and metrics through Grafana dashboards.\n\n### Future improvements\n* Add automated scaling policies in Kubernetes.\n* Integrate additional security measures, such as TLS for network communication.\n* Implement automated backups for Nexus repository and Jenkins configuration.\n* Adding other agents to jenkins server\n* Automating Jenkins setup on VM provision\n* Making the infrastructure project agnostic so that you can you it with any application project you have \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihebbelhadj%2Fopsforge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fihebbelhadj%2Fopsforge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fihebbelhadj%2Fopsforge/lists"}