Skip to content

Instantly share code, notes, and snippets.

View hanserya's full-sized avatar

Ryan Hansen hanserya

  • FuelNOW
  • Tomball, TX
View GitHub Profile
@hanserya
hanserya / ConfigServerApplication.java
Last active March 2, 2022 15:23
Use Mounted Volume for SSH Key-Based Authentication in Dockerized Spring Cloud Config Server
@EnableConfigServer
@SpringBootApplication
@Import(SshLocationOverrideConfiguration.class)
public class ConfigServerApplication {
public static void main(String[] args) {
SpringApplication.run(ConfigServiceApplication.class, args)
.start(); //<-- THIS IS IMPORTANT!
}
}