From af8e32cb3d953aad8866788002f804b173a20feb Mon Sep 17 00:00:00 2001 From: AleixMT Date: Thu, 18 Jan 2024 19:09:10 +0100 Subject: [PATCH] ADDED: deefault properties in prod mode in order to use it in prod too --- src/main/resources/application-prod.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 5c3639f..b53e4c4 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -3,7 +3,7 @@ #################################### # Set connection to the desired table of DB using URL -spring.datasource.url=jdbc:postgresql://${POSTGRES_OPERADOR_INTERNAL_DOMAIN:postgres_operador}:${PGPORT:5432}/${PGDATABASE:bookabook} +spring.datasource.url=jdbc:postgresql://${POSTGRES_OPERADOR_INTERNAL_DOMAIN:postgres_operador}:${PGPORT:5432}/${PGDATABASE:book-a-book-operador} # Database credentials spring.datasource.username=${POSTGRES_USER:aleixmt} @@ -30,4 +30,4 @@ spring.jpa.properties.hibernate.format_sql=true ### EUREKA ### ############## # URL of the Eureka service -eureka.client.serviceUrl.defaultZone=http://${EUREKA_INTERNAL_DOMAIN:localhost}:${EUREKA_INTERNAL_PORT:8761}/eureka \ No newline at end of file +eureka.client.serviceUrl.defaultZone=http://${EUREKA_INTERNAL_DOMAIN:book-a-book-eureka}:${EUREKA_INTERNAL_PORT:8761}/eureka \ No newline at end of file