Running Spring Boot on Dokploy
Hello
,
Dokploy looks really cool!
I'm trying to run a Spring Boot Application on Dokploy.
First I wanted to use Paketo Buildpacks as this is the default for Spring Boot.
It seems to want to use Java 17:
I tried setting
I then tried with Heroku Buildpacks:
This built successfully but failed on startup:
This should be
https://devcenter.heroku.com/articles/deploying-gradle-apps-on-heroku#default-web-process-type
Dokploy looks really cool!
I'm trying to run a Spring Boot Application on Dokploy.
First I wanted to use Paketo Buildpacks as this is the default for Spring Boot.
It seems to want to use Java 17:
Using buildpack default Java version 17I tried setting
BP_JAVA_VERSION=21 in my env variables, but this doesn't seem to be a build time variable, as it still tried with Java 17I then tried with Heroku Buildpacks:
This built successfully but failed on startup:
ERROR: failed to launch: determine start command: when there is no default process a command is requiredThis should be
java -Dserver.port=$PORT $JAVA_OPTS -jar build/libs/*.jar https://devcenter.heroku.com/articles/deploying-gradle-apps-on-heroku#default-web-process-type
Creating, configuring, deploying and scaling Java applications on Heroku using Gradle.
