dns
This commit is contained in:
@@ -13,7 +13,7 @@ RUN mvn package -DskipTests -Dquarkus.package.jar.type=uber-jar -Dquarkus.packag
|
||||
FROM eclipse-temurin:25-jre
|
||||
WORKDIR /app
|
||||
|
||||
# Install libstdc++ and other OpenCV dependencies + wget for health checks
|
||||
# Install dependencies + wget for health checks
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
libstdc++6 \
|
||||
@@ -24,6 +24,10 @@ RUN apt-get update && \
|
||||
# Create user (Debian syntax)
|
||||
RUN groupadd -r quarkus && useradd -r -g quarkus quarkus
|
||||
|
||||
# Create the data directory and set ownership BEFORE switching user
|
||||
RUN mkdir -p /mnt/okcomputer/output && \
|
||||
chown -R quarkus:quarkus /mnt/okcomputer/output
|
||||
|
||||
# Copy the built jar with correct pattern
|
||||
COPY --from=builder --chown=quarkus:quarkus /app/target/auctiora-*.jar app.jar
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
- "traefik.http.services.auctiora.loadbalancer.server.port=8081"
|
||||
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/health/live"]
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:8081/q/health/live"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user