From f9fd559361f11b79e622ee0c0c660f42980a36ac Mon Sep 17 00:00:00 2001 From: Antoine Rey Date: Sat, 28 Dec 2024 13:06:17 +0100 Subject: [PATCH] Externalise the genai-service configuration (#301) --- docker-compose.yml | 3 ++- .../src/main/resources/application.yml | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index a29ef0ba2..0670aecc8 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -121,7 +121,8 @@ services: limits: memory: 512M environment: - - JAVA_OPTS=-XX:+UnlockExperimentalVMOptions -Djava.security.egd=file:/dev/./urandom + # Waiting for https://github.com/openzipkin/zipkin/issues/3786 + - JAVA_OPTS=-XX:UseSVE=0 ports: - 9411:9411 diff --git a/spring-petclinic-genai-service/src/main/resources/application.yml b/spring-petclinic-genai-service/src/main/resources/application.yml index 5c42ad1ce..d6c380add 100644 --- a/spring-petclinic-genai-service/src/main/resources/application.yml +++ b/spring-petclinic-genai-service/src/main/resources/application.yml @@ -43,11 +43,3 @@ spring: activate: on-profile: docker import: configserver:http://config-server:8888 - zipkin: - baseUrl: http://tracing-server:9411 -server: - port: 8084 -eureka: - client: - serviceUrl: - defaultZone: http://discovery-server:8761/eureka/