Skip to content

Commit 2f92a12

Browse files
committed
chore: CI 수정
1 parent 2629f27 commit 2f92a12

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,21 @@ jobs:
2222
build:
2323
runs-on: ubuntu-latest
2424

25-
services:
25+
container:
26+
image: eclipse-temurin:21-jdk
27+
services:
28+
mysql-geumpumta:
29+
image: mysql:8.4.0
30+
env:
31+
MYSQL_DATABASE: geumpumta
32+
MYSQL_USER: app
33+
MYSQL_PASSWORD: app
34+
MYSQL_ROOT_PASSWORD: root
35+
# ports 매핑 불필요 (내부 통신이므로 3306으로 붙음)
36+
options: >-
37+
--health-cmd="mysqladmin ping -h 127.0.0.1 -proot"
38+
--health-interval=10s --health-timeout=5s --health-retries=10
39+
2640
redis:
2741
image: redis:alpine
2842
ports:

0 commit comments

Comments
 (0)