Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andreybleme/a2941360d3a73577846323a14fe4b5ec to your computer and use it in GitHub Desktop.
Save andreybleme/a2941360d3a73577846323a14fe4b5ec to your computer and use it in GitHub Desktop.
andreybleme.com | Centralized configuration with Spring Cloud Config
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
@EnableConfigServer
@SpringBootApplication
public class DiscoveringConfigServerApplication {
public static void main(String[] args) {
SpringApplication.run(DiscoveringConfigServerApplication.class, args);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment