From 524417f10dbdbaadad9686d6cf27b3d70b54cf9e Mon Sep 17 00:00:00 2001 From: pandoli365 Date: Wed, 15 Apr 2026 21:33:05 +0900 Subject: [PATCH] =?UTF-8?q?3=EC=B0=A8=20=EC=B4=88=EA=B8=B0=ED=99=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/dev/application.properties | 23 +++++++++++++++++++ src/main/resources/dev/db.properties | 4 ++++ .../resources/live/application.properties | 23 +++++++++++++++++++ src/main/resources/live/db.properties | 4 ++++ 4 files changed, 54 insertions(+) create mode 100644 src/main/resources/dev/application.properties create mode 100644 src/main/resources/dev/db.properties create mode 100644 src/main/resources/live/application.properties create mode 100644 src/main/resources/live/db.properties diff --git a/src/main/resources/dev/application.properties b/src/main/resources/dev/application.properties new file mode 100644 index 0000000..1f4758f --- /dev/null +++ b/src/main/resources/dev/application.properties @@ -0,0 +1,23 @@ +spring.profiles.active=dev +spring.application.name=bibimbap + +# ViewResolver +spring.mvc.view.prefix=/WEB-INF/views/ +spring.mvc.view.suffix=.jsp + +# common +spring.config.import=classpath:db.properties, classpath:common.properties + +# IP +server.address=0.0.0.0 + +# encoding +server.servlet.encoding.force-response=true + +# file upload Max Size +spring.servlet.multipart.max-file-size=100MB +spring.servlet.multipart.max-request-size=100MB + +# log +mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl +logging.level.org.apache.ibatis=TRACE diff --git a/src/main/resources/dev/db.properties b/src/main/resources/dev/db.properties new file mode 100644 index 0000000..28dbdc1 --- /dev/null +++ b/src/main/resources/dev/db.properties @@ -0,0 +1,4 @@ +spring.datasource.driver-class-name=org.postgresql.Driver +spring.datasource.url=jdbc:postgresql://192.168.1.3:5432/bibimbap?currentSchema=dev +spring.datasource.username=bibimbap +spring.datasource.password=c895UxtsMJPaTWS0 diff --git a/src/main/resources/live/application.properties b/src/main/resources/live/application.properties new file mode 100644 index 0000000..1f4758f --- /dev/null +++ b/src/main/resources/live/application.properties @@ -0,0 +1,23 @@ +spring.profiles.active=dev +spring.application.name=bibimbap + +# ViewResolver +spring.mvc.view.prefix=/WEB-INF/views/ +spring.mvc.view.suffix=.jsp + +# common +spring.config.import=classpath:db.properties, classpath:common.properties + +# IP +server.address=0.0.0.0 + +# encoding +server.servlet.encoding.force-response=true + +# file upload Max Size +spring.servlet.multipart.max-file-size=100MB +spring.servlet.multipart.max-request-size=100MB + +# log +mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl +logging.level.org.apache.ibatis=TRACE diff --git a/src/main/resources/live/db.properties b/src/main/resources/live/db.properties new file mode 100644 index 0000000..190aa2a --- /dev/null +++ b/src/main/resources/live/db.properties @@ -0,0 +1,4 @@ +spring.datasource.driver-class-name=org.postgresql.Driver +spring.datasource.url=jdbc:postgresql://192.168.1.3:5432/bibimbap?currentSchema=live +spring.datasource.username=bibimbap +spring.datasource.password=c895UxtsMJPaTWS0 \ No newline at end of file