diff --git a/src/main/kotlin/com/retrip/map/application/out/repository/LocationRecentSearchRepository.kt b/src/main/kotlin/com/retrip/map/application/out/repository/LocationRecentSearchRepository.kt index 159f5d5..7027511 100644 --- a/src/main/kotlin/com/retrip/map/application/out/repository/LocationRecentSearchRepository.kt +++ b/src/main/kotlin/com/retrip/map/application/out/repository/LocationRecentSearchRepository.kt @@ -30,6 +30,6 @@ interface LocationRecentSearchRepository : JpaRepository true } // 개발용 .build() - val restClient = RestClient.builder(HttpHost("172.31.60.74", 9200, "http")) + val restClient = RestClient.builder(HttpHost("43.203.108.129", 9200, "http")) .setHttpClientConfigCallback { httpClientBuilder -> httpClientBuilder .setSSLContext(sslContext) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6559623..cf778ab 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -5,7 +5,7 @@ spring: datasource: driver-class-name: org.h2.Driver #url: jdbc:h2:file:~/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL - url: jdbc:h2:tcp://localhost/~/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL + url: jdbc:h2:tcp://localhost/~/Desktop/db/map;AUTO_SERVER=TRUE;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;MODE=MySQL username: sa password: h2: