optimize setup
Some checks failed
deploy to hetzner / deploy (push) Failing after 4m54s

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-08-23 00:12:17 +02:00
parent ac0a1abe34
commit d651676106
3 changed files with 4 additions and 17 deletions

View File

@@ -4,8 +4,8 @@
<envs>
<env name="EUREKA" value="http://localhost:8761/eureka" />
</envs>
<module name="timezone-service" />
<option name="SPRING_BOOT_MAIN_CLASS" value="dev.mars3142.fhq.timezone.Application" />
<module name="website" />
<option name="SPRING_BOOT_MAIN_CLASS" value="dev.mars3142.fhq.Application" />
<method v="2">
<option name="Make" enabled="true" />
</method>

View File

@@ -1,3 +1,4 @@
# Stage that builds the application, a prerequisite for the running stage
FROM eclipse-temurin:21-jdk-noble AS build
RUN apt-get update -qq
@@ -10,7 +11,7 @@ USER app
# Copy all needed project files to a folder
COPY --chown=app ./.mvn/ .mvn
COPY --chown=app ./mvnw ./pom.xml ./app.json ./
COPY --chown=app ./mvnw ./pom.xml ./
COPY --chown=app ./src ./src
RUN curl -OL https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases/latest/download/opentelemetry-javaagent.jar

View File

@@ -1,14 +0,0 @@
{
"healthchecks": {
"web": [
{
"type": "readiness",
"name": "web check",
"description": "Checking if the app responds to the /actuator/health/readiness endpoint",
"path": "/actuator/health/readiness",
"port": 5000,
"attempts": 3
}
]
}
}