https://github.com/tennyros/feign-eureka-config
External configuration files for microservices in the feign-eureka
https://github.com/tennyros/feign-eureka-config
application-yml config-server
Last synced: 5 months ago
JSON representation
External configuration files for microservices in the feign-eureka
- Host: GitHub
- URL: https://github.com/tennyros/feign-eureka-config
- Owner: tennyros
- Created: 2025-06-02T05:33:07.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2025-06-02T05:37:07.000Z (about 1 year ago)
- Last Synced: 2025-06-10T19:49:43.839Z (about 1 year ago)
- Topics: application-yml, config-server
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Cloud Config Repository
This repository contains external configuration files for microservices in the `feign-eureka` system. It is used by the [Spring Cloud Config Server](https://cloud.spring.io/spring-cloud-config/).
## Repository Structure
```text
├── application.yml # Shared/default configuration for all services
├── user-service.yml # Default config for user-service
├── order-service.yml # Default config for order-service
├── user-service.yml # Default profile for user-service
├── order-service.yml # Default profile for order-service
```
## Naming Convention
Configuration file names follow the pattern:
`{application-name}[-{profile}].yml`
Examples:
- `user-service.yml` — default settings for `user-service`
- `user-service-dev.yml` — settings for `dev` profile of `user-service`
- `application.yml` — common settings shared by all services
## Usage
Each microservice must include the following in its `application.yml`:
```yaml
spring:
application:
name: user-service # or order-service, etc.
cloud:
config:
uri: http://localhost:8888
```