GithubHelp home page GithubHelp logo

singhmahabir / config-server Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 18 KB

Spring boot config server which provides configuration file to it's client based on profiles from configured config-repository...

Home Page: https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html

Java 100.00%
java8 springboot2 configserver actuator springsecurity

config-server's Introduction

config-server

Spring boot config server which provides configuration file 
to it's client based on profiles from configured config-repository...
add set -Dhttps.proxyHost= -Dhttps.proxyPort= as VM Argument if it is required ?  
when you have used cloud url like 
uri: https://github.com/singhmahabir/config-repository
you can run the application using maven and port like below
  • mvn spring-boot:run
  • Runs on port 8701

** config server urls **

  1. https://cloud.spring.io/spring-cloud-config/multi/multi__spring_cloud_config_server.html
  2. https://cloud.spring.io/spring-cloud-config/multi/multi__quick_start.html

How config files looks like

{ServiceID}-{profile}.properties

  1. ServiceID defined as below

    • spring.application.name = anyname
  2. profile

    • anyname-dev.properties
    • anyname-test.properties
    • Here dev and test are profiles
  3. Example


Below properties must be on bootstrap.yml

spring:
  cloud: 
    config:
      server:
        encrypt:
          enabled: false
encrypt:
  key: ABCDEFGHIJKLMNOPQRSTUVWXYZ

config-server's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.