Repository navigation
Spring Boot on Light Cloud: JAR, Port and Memory Settings #20
julia-kafarska
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Full tutorial with screenshots: https://blog.light-cloud.com/tutorials/deploy-a-spring-boot-app
Deploy a Spring Boot app to Light Cloud without a Dockerfile: Gradle or Maven builds the JAR, SERVER_PORT is set for you, and JAVA_TOOL_OPTIONS=-XX:MaxRAMPercentage=75 raises the heap from 123 MB to 371 MB on a 512 MB instance.
Level: Intermediate · Time: about 20 minutes · Plan: Free · Stack: Java 17, Spring Boot 4, Gradle
Steps
Source code: https://github.com/light-cloud-com/tutorial-spring-boot-api
Questions, problems with a step, or a screen that no longer matches the console? Reply here. Every tutorial is re-run on the live platform before it is published, and this thread is where fixes get discussed.
All reactions