Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

백엔드 합병 작업 #723

Closed
wants to merge 10 commits into from
4 changes: 3 additions & 1 deletion backend/baton/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id 'java'
id 'java-test-fixtures'
id 'org.springframework.boot' version '3.1.1'
id 'org.springframework.boot' version '3.1.8'
id 'io.spring.dependency-management' version '1.1.0'
id 'org.asciidoctor.jvm.convert' version '3.3.2'
}
Expand Down Expand Up @@ -66,6 +66,7 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok'

// database
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'

Expand All @@ -79,6 +80,7 @@ dependencies {
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'io.rest-assured:rest-assured'
testImplementation 'org.testcontainers:junit-jupiter'
testImplementation 'org.testcontainers:testcontainers:1.17.2'
testImplementation 'org.springframework.boot:spring-boot-testcontainers'
testImplementation 'org.springframework.restdocs:spring-restdocs-mockmvc'
testImplementation 'org.testcontainers:mysql'
Expand Down
10 changes: 10 additions & 0 deletions backend/baton/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
services:
mysql:
image: 'mysql:latest'
container_name: 'baton-mysql'
environment:
- 'MYSQL_DATABASE=mydatabase'
- 'MYSQL_PASSWORD=secret'
- 'MYSQL_ROOT_PASSWORD=verysecret'
- 'MYSQL_USER=myuser'
ports:
- '3307:3306'
redis:
image: 'redis:7.0-alpine'
container_name: 'baton-redis'
ports:
- '16379:6379'
command: redis-server /usr/local/etc/redis/redis.conf
volumes:
- ./redis/redis.conf:/usr/local/etc/redis/redis.conf
- ./redis/users.acl:/etc/redis/users.acl
Loading
Loading