From 4fbb0982a622a0feb8e7c35ebd679df7cff1fd05 Mon Sep 17 00:00:00 2001 From: swthewhite Date: Tue, 16 Dec 2025 09:55:46 +0900 Subject: [PATCH] =?UTF-8?q?refactor/#35:=20api(Backend)=EC=99=80=20?= =?UTF-8?q?=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20=ED=98=95=EC=8B=9D=20?= =?UTF-8?q?=ED=86=B5=EC=9D=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- slackjudge/src/main/resources/mongo.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/slackjudge/src/main/resources/mongo.yml b/slackjudge/src/main/resources/mongo.yml index 6d3b0c1..11469d9 100644 --- a/slackjudge/src/main/resources/mongo.yml +++ b/slackjudge/src/main/resources/mongo.yml @@ -16,7 +16,8 @@ spring.config.activate.on-profile: local spring: data: mongodb: - uri: mongodb://localhost:27017/app + uri: mongodb://localhost:27017 + database: app logging: level: @@ -30,7 +31,8 @@ spring.config.activate.on-profile: prod spring: data: mongodb: - uri: ${MONGO_URL} + uri: ${MONGO_URI} + database: ${MONGO_DATABASE} username: ${MONGO_USER_NAME} password: ${MONGO_PASSWORD} auto-index-creation: false