{"id":30041693,"url":"https://github.com/frocode/blue-green-deployment","last_synced_at":"2025-08-07T02:54:14.730Z","repository":{"id":291089035,"uuid":"976546819","full_name":"FroCode/Blue-Green-Deployment","owner":"FroCode","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-02T10:15:56.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T11:19:44.012Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/FroCode.png","metadata":{"files":{"readme":"readme.md","changelog":"Changelog.md","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,"zenodo":null}},"created_at":"2025-05-02T09:59:23.000Z","updated_at":"2025-05-02T10:16:01.000Z","dependencies_parsed_at":"2025-05-02T11:19:46.529Z","dependency_job_id":"29a6500b-37db-43c9-abad-88f72488f940","html_url":"https://github.com/FroCode/Blue-Green-Deployment","commit_stats":null,"previous_names":["frocode/blue-green-deployment"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FroCode/Blue-Green-Deployment","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroCode%2FBlue-Green-Deployment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroCode%2FBlue-Green-Deployment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroCode%2FBlue-Green-Deployment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroCode%2FBlue-Green-Deployment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FroCode","download_url":"https://codeload.github.com/FroCode/Blue-Green-Deployment/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FroCode%2FBlue-Green-Deployment/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269190141,"owners_count":24375576,"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","status":"online","status_checked_at":"2025-08-07T02:00:09.698Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-07T02:54:09.923Z","updated_at":"2025-08-07T02:54:14.715Z","avatar_url":"https://github.com/FroCode.png","language":"Shell","readme":"# Blue-Green Deployment Automation\nA robust shell script-based solution for automating blue-green deployments in a Dockerized environment with Nginx as a reverse proxy. This project ensures zero-downtime deployments by managing container lifecycles, performing health checks, and dynamically updating Nginx configurations.\nFeatures\n\nZero-Downtime Deployments: Seamlessly switch between blue and green environments.\nHealth Checks: Validates new containers before routing traffic.\nRollback Support: Automatically reverts to the previous environment on failure.\nConfigurable: Uses a configuration file for easy customization.\nLogging: Comprehensive logs for debugging and auditing.\nModular Design: Includes helper scripts for setup and testing.\n\n# Prerequisites\n\nOS: Ubuntu 20.04+ or similar Linux distribution\nTools: Docker, Nginx, curl\nPermissions: Root or sudo access for setup\nDocker Image: A Dockerized application with a health check endpoint (e.g., /health)\n\n\n\nRun the setup script to install dependencies and configure the environment:\nchmod +x scripts/setup_environment.sh\nsudo scripts/setup_environment.sh\n\n\nCopy the sample configuration file and customize it:\nsudo cp config/deploy.conf /etc/bluegreen/deploy.conf\nsudo nano /etc/bluegreen/deploy.conf\n\n\n\n# Usage\n\nEnsure your Docker image is available in a registry (e.g., Docker Hub).\n\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrocode%2Fblue-green-deployment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrocode%2Fblue-green-deployment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrocode%2Fblue-green-deployment/lists"}