tschuehly
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:
Using buildpack default Java version 17
I 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 17
I 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 required
This 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-type50 replies