blog-2025-02-14-java-dokploy-nixpacks

Tuesday, February 18, 2025, 2:32:12 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

(edit 2: turns out, [...]: def is a reference style link)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

(note: the [ start ] is without spaces of course, but pepperinos parser doesn't support escaping yet)

source


Tuesday, February 18, 2025, 2:22:54 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

(note: the [ start ] is without spaces of course, but pepperinos parser doesn't support escaping yet)

source


Tuesday, February 18, 2025, 1:37:16 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

kotlin, dokploy

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

(note: the [ start ] is without spaces of course, but pepperinos parser doesn't support escaping yet)

source


Tuesday, February 18, 2025, 1:36:58 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

(note: the [ start ] is without spaces of course, but pepperinos parser doesn't support escaping yet)

source


Tuesday, February 18, 2025, 1:02:34 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

(note: the [ start ] is without spaces of course, but pepperinos parser doesn't support escaping yet)

source


Tuesday, February 18, 2025, 1:01:49 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[ start ]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:01:15 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[`start`]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:01:08 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
\start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:01:03 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
\\start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:00:51 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
[start\]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:00:40 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
\[start\]
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 1:00:34 PM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
\start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:01:15 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:01:06 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:00:54 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something else)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:00:49 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so it must be something different)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:00:35 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so )

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 10:00:29 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but ~there seems to be a bug in pepperino's alias handling~ - update: it shows up here so )

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 9:59:48 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

(edit: the first link is kotlin, but there seems to be a bug in pepperino's alias handling)

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 9:59:04 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Tuesday, February 18, 2025, 9:58:51 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Friday, February 14, 2025, 7:45:57 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


Friday, February 14, 2025, 7:45:25 AM Coordinated Universal Time by stefs

yesterday i ran into troubles deploying my current side project filemure.

my current dev stack is:

and

i ran into a few problems this time, compared to when i worked on pepperino:

  1. don't forget to make it a fat jar by including john engelman's shadow. i think it's not necessary to change the build command, but build creates both a thin and a fat jar and then it might not be clear which one of the two the start.cmd selects.
  2. if it's a multi module project, either copy the jar to root build/libs directory (which is where nixpacks looks by default), or overrule it in the nixpacks config
providers = ["java"]

# add shadowJar
[phases.build]
cmds = ["chmod +x gradlew", "./gradlew clean shadowJar -x check -x test"]

# new path, and we can know the actual jar name
start
cmd = "java $JAVA_OPTS -jar app/build/libs/app-all.jar"

source


view