Skip to content

Commit

Permalink
Merge pull request #32 from this-is-spear/chore/migrate
Browse files Browse the repository at this point in the history
마이그레이션을 진행한다.
  • Loading branch information
this-is-spear authored Jan 14, 2024
2 parents fb89a39 + 86e0736 commit 2841ac9
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
13 changes: 7 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ plugins {
id 'java'
id 'jacoco'
id 'checkstyle'
id 'org.springframework.boot' version '3.0.2'
id 'io.spring.dependency-management' version '1.1.0'
id 'org.springframework.boot' version '3.1.7'
id 'io.spring.dependency-management' version '1.1.4'
id "org.asciidoctor.jvm.convert" version "3.3.2"
}

Expand Down Expand Up @@ -48,11 +48,12 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'org.springframework.security:spring-security-test'

// docker compose dependency
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
// testcontainer dependency
testImplementation "org.testcontainers:testcontainers:1.17.6"
testImplementation "org.testcontainers:junit-jupiter:1.17.6"
testImplementation "org.testcontainers:mysql:1.17.6"
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:mysql'
}

checkstyle {
Expand Down
10 changes: 10 additions & 0 deletions compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
services:
mysql:
image: 'mysql:latest'
environment:
MYSQL_DATABASE: money_transfer_service
MYSQL_ROOT_HOST: '%'
MYSQL_ROOT_PASSWORD: password!
TZ: 'Asia/Seoul'
ports:
- '3306'

0 comments on commit 2841ac9

Please sign in to comment.