diff --git a/TodaysFail-Infrastructure/src/main/resources/application-infrastructure.yml b/TodaysFail-Infrastructure/src/main/resources/application-infrastructure.yml index 18f9fd5..75da5b3 100644 --- a/TodaysFail-Infrastructure/src/main/resources/application-infrastructure.yml +++ b/TodaysFail-Infrastructure/src/main/resources/application-infrastructure.yml @@ -63,12 +63,7 @@ spring: username: ${MYSQL_USERNAME} password: ${MYSQL_PASSWORD} driver-class-name: com.mysql.cj.jdbc.Driver - master: - name: master - url: jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${DB_NAME}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&tinyInt1isBit=false - slave: - - name: slave1 - url: jdbc:mysql://${MYSQL_SLAVE1_HOST}:${MYSQL_SLAVE1_PORT}/${DB_NAME}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&tinyInt1isBit=false + url: jdbc:mysql://${MYSQL_HOST}:${MYSQL_PORT}/${DB_NAME}?useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Seoul&allowPublicKeyRetrieval=true&tinyInt1isBit=false hikari: maxLifetime: 580000 maximum-pool-size: 20