Skip to content

alexandreroman/cf-spring-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Spring Boot on Cloud Foundry

This project shows how to run a Spring Boot app on Cloud Foundry.

Screenshot of the application running on Cloud Foundry

Run this command to build the app (please note you need JDK 21+):

./mvnw clean package

No need to worry about Dockerfiles and a wall of YAML, the only thing you need to deploy apps on Cloud Foundry is a single command:

cf push

That's it!

Please note that this Spring Boot app leverages AppCDS to speed up startup time. The Java Buildpack actually takes care of creating a CDS archive for you. See the app manifest for details.

Contributing

Contributions are always welcome!

Feel free to open issues & send PR.

License

Copyright © 2024 Broadcom, Inc. or its affiliates.

This project is licensed under the Apache Software License version 2.0.

About

Running Spring Boot on Cloud Foundry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published