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>
이 Commit은 다음에 포함되어 있습니다:
@@ -9,8 +9,8 @@ services:
|
||||
environment:
|
||||
SPRING_PROFILES_ACTIVE: prod,mysql
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/wbx_spring?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
|
||||
SPRING_DATASOURCE_USERNAME: wbxapp
|
||||
SPRING_DATASOURCE_URL: jdbc:mysql://db:3306/mos?useUnicode=true&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true
|
||||
SPRING_DATASOURCE_USERNAME: jsh
|
||||
SPRING_DATASOURCE_PASSWORD: ${DB_PASSWORD}
|
||||
SPRING_DATA_REDIS_HOST: redis
|
||||
SERVER_CONTEXT_PATH: ${SERVER_CONTEXT_PATH:-/}
|
||||
@@ -21,7 +21,7 @@ services:
|
||||
condition: service_started
|
||||
restart: always
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/health"]
|
||||
test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/actuator/health"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
@@ -29,8 +29,8 @@ services:
|
||||
db:
|
||||
image: mysql:8.0
|
||||
environment:
|
||||
MYSQL_DATABASE: wbx_spring
|
||||
MYSQL_USER: wbxapp
|
||||
MYSQL_DATABASE: mos
|
||||
MYSQL_USER: jsh
|
||||
MYSQL_PASSWORD: ${DB_PASSWORD}
|
||||
MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD}
|
||||
ports:
|
||||
|
||||
새 Issue에서 참조
사용자 차단