第10章 Spring Boot应用部署运维

第10章 Spring Boot应用部署运维

10.1 Spring Boot应用运行

To create a ‘fully executable’ jar with Maven use the following plugin configuration:


    org.springframework.boot
    spring-boot-maven-plugin
    
        true
    

With Gradle, the equivalent configuration would be:

springBoot {
    executable = true
}

You can then run your application by typing ./my-application.jar

10.2 使用Docker部署

你可能感兴趣的:(第10章 Spring Boot应用部署运维)