diff --git a/.lionsctl.yaml b/.lionsctl.yaml index f185142..8a40c24 100644 --- a/.lionsctl.yaml +++ b/.lionsctl.yaml @@ -2,7 +2,7 @@ deployment: replicas: 1 domain: unionflow.lions.dev - port: 8086 + port: 8080 environment: production resources: @@ -17,8 +17,8 @@ health: liveness: initialDelaySeconds: 120 periodSeconds: 10 - port: 8086 + port: 8080 readiness: initialDelaySeconds: 60 periodSeconds: 5 - port: 8086 + port: 8080 diff --git a/Dockerfile b/Dockerfile index 5f4d541..3c1882c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ENV LANGUAGE='en_US:en' # Configuration Quarkus ENV QUARKUS_PROFILE=prod -ENV QUARKUS_HTTP_PORT=8086 +ENV QUARKUS_HTTP_PORT=8080 ENV QUARKUS_HTTP_HOST=0.0.0.0 # Configuration Backend UnionFlow @@ -35,8 +35,8 @@ COPY --chown=appuser:appuser target/*-runner.jar /app/app.jar USER appuser -# Exposer le port 8086 -EXPOSE 8086 +# Exposer le port 8080 +EXPOSE 8080 # Variables JVM optimisées ENV JAVA_OPTS="-Xmx1g -Xms512m \ @@ -56,4 +56,4 @@ ENTRYPOINT ["sh", "-c", "exec java $JAVA_OPTS -jar /app/app.jar"] # Health check sur le bon port HEALTHCHECK --interval=30s --timeout=10s --start-period=120s --retries=3 \ - CMD curl -f http://localhost:8086/q/health/ready || exit 1 + CMD curl -f http://localhost:8080/q/health/ready || exit 1 diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index a71b3df..e3b14c4 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -2,7 +2,7 @@ # Ce fichier est utilisé avec le profil Quarkus "prod" # Configuration HTTP -quarkus.http.port=8086 +quarkus.http.port=8080 quarkus.http.host=0.0.0.0 quarkus.http.root-path=/ quarkus.http.so-reuse-port=true