Skip to content

Commit 01563eb

Browse files
authored
[improve] 클라우드 DB 환경 EC2 내부 DB 환경으로 전환
2 parents d204f80 + a9e5208 commit 01563eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
# (4) 새 컨테이너 실행 (DB 환경변수 주입)
9999
# application.properties의 'sgea' DB 이름을 사용
100100
docker run -d \
101-
-p 8080:8080 \
101+
--network host \
102102
--name coreclass-app \
103103
-e "SPRING_DATASOURCE_URL=jdbc:mysql://${{ secrets.DB_HOST }}:3306/sgea" \
104104
-e "SPRING_DATASOURCE_USERNAME=${{ secrets.DB_USERNAME }}" \

0 commit comments

Comments
 (0)