{"id":19852969,"url":"https://github.com/chandrakanthrck/env-config","last_synced_at":"2026-02-10T17:05:20.333Z","repository":{"id":254220069,"uuid":"845856923","full_name":"chandrakanthrck/env-config","owner":"chandrakanthrck","description":"A repository storing environment-specific configuration files (YAML) for a microservices architecture. Used by Spring Cloud Config Server to manage configurations across development, production, and other environments.","archived":false,"fork":false,"pushed_at":"2024-09-06T02:22:38.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T04:02:38.090Z","etag":null,"topics":["config-management","config-server","environment-specific-config","microservices","spring-cloud"],"latest_commit_sha":null,"homepage":"","language":null,"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/chandrakanthrck.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-08-22T04:07:05.000Z","updated_at":"2024-09-06T02:22:41.000Z","dependencies_parsed_at":"2024-08-22T05:24:55.587Z","dependency_job_id":"fb99222b-6d1d-4300-8837-771aeeb2d98c","html_url":"https://github.com/chandrakanthrck/env-config","commit_stats":null,"previous_names":["chandrakanthrck/microservices-config","chandrakanthrck/env-config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chandrakanthrck/env-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2Fenv-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2Fenv-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2Fenv-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2Fenv-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chandrakanthrck","download_url":"https://codeload.github.com/chandrakanthrck/env-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chandrakanthrck%2Fenv-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29308962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T16:09:25.305Z","status":"ssl_error","status_checked_at":"2026-02-10T16:08:52.170Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["config-management","config-server","environment-specific-config","microservices","spring-cloud"],"created_at":"2024-11-12T14:05:03.694Z","updated_at":"2026-02-10T17:05:20.314Z","avatar_url":"https://github.com/chandrakanthrck.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Configuration Repository\n\n## Overview\nThis repository stores the **configuration files** (`YAML` format) for different environments of the microservices architecture. The configurations are used by the **Spring Cloud Config Server** to provide environment-specific properties to microservices like `HotelService`, `RatingService`, `UserService`, and more.\n\n## Files\n\n### 1. **application.yml**\nThis is the default configuration file that applies when no specific environment profile is active. It contains common properties shared across all environments.\n\n### 2. **application-dev.yml**\nThis file contains configuration specific to the **development environment**. When the `dev` profile is active, this file's settings will override those in `application.yml`.\n\n### 3. **application-prod.yml**\nThis file contains configuration specific to the **production environment**. When the `prod` profile is active, this file's settings will override those in `application.yml`.\n\n## Usage\n\n### How it works with the Config Server:\n- The **Spring Cloud Config Server** reads these configuration files and serves them to microservices based on their active profile.\n- Microservices fetch configurations dynamically based on their environment using the following URL pattern:\n```bash\nhttp://{config-server-url}/{application-name}/{profile}/{label}\n```\n\nFor example, to fetch application-dev.yml for the hotelservice, the URL would be:\n```bash\nhttp://localhost:8888/hotelservice/dev/main\n```\n### Active Profiles:\n**Default Profile:** application.yml\n**Development Profile** application-dev.yml\n**Production Profile:** application-prod.yml\n\n### How to Update\n## Clone the repository:\n\n```bash\ngit clone git@github.com:chandrakanthrck/env-config.git\n```\n**Edit the YAML files:** Make changes to the respective application.yml, application-dev.yml, or application-prod.yml based on the environment.\n\n**Commit and Push:**\n```bash\ngit add .\ngit commit -m \"Update configuration\"\ngit push origin main\n```\n\n### Important Notes\n- Ensure that sensitive data like passwords, API keys, etc., are not exposed in these files. Consider using **encrypted values** or **environment variables** for sensitive information.\n- The configuration repository works in tandem with the **Spring Cloud Config Server** to provide environment-specific configurations to microservices.\n\n### License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fenv-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchandrakanthrck%2Fenv-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchandrakanthrck%2Fenv-config/lists"}