파일
wbx-spring/src/main/resources/application-mysql.yml
accura0117 ce70702240 fix: DB 설정 통일 및 설치 스크립트에 Redis/MySQL 연결 체크 추가
- DB 기본값을 ws.ubuilder.co.kr/mos/jsh로 전체 통일
- context-path /spring → / 로 변경
- install.sh/bat에 Redis 자동 시작, MySQL 연결 확인 단계 추가
- health URL /health → /actuator/health 수정
- 개발환경 가이드 문서 동기화

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-25 19:01:09 +09:00

23 줄
745 B
YAML

# ===== MySQL 프로필 =====
# 사용법: --spring.profiles.active=prod,mysql
spring:
datasource:
url: jdbc:mysql://${DB_HOST:ws.ubuilder.co.kr}:${DB_PORT:3306}/${DB_NAME:mos}?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true&serverTimezone=Asia/Seoul
username: ${DB_USER:jsh}
password: ${DB_PASS:jsh@}
driver-class-name: com.mysql.cj.jdbc.Driver
hikari:
maximum-pool-size: ${DB_POOL_SIZE:20}
minimum-idle: 5
connection-timeout: 30000
jpa:
database-platform: org.hibernate.dialect.MySQLDialect
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
flyway:
locations: classpath:db/migration/common,classpath:db/migration/mysql