From 8f486bbd9ea9b0b402c46f51b181594982a82b86 Mon Sep 17 00:00:00 2001 From: kangwook1 Date: Tue, 29 Oct 2024 19:17:37 +0900 Subject: [PATCH] =?UTF-8?q?[Env]=20.gitignore=20application.properties=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 6 ----- .gitignore | 1 + src/main/resources/application-dev.properties | 27 ------------------- .../resources/application-prod.properties | 27 ------------------- src/main/resources/application.properties | 5 ---- 5 files changed, 1 insertion(+), 65 deletions(-) delete mode 100644 .env delete mode 100644 src/main/resources/application-dev.properties delete mode 100644 src/main/resources/application-prod.properties delete mode 100644 src/main/resources/application.properties diff --git a/.env b/.env deleted file mode 100644 index 268d423..0000000 --- a/.env +++ /dev/null @@ -1,6 +0,0 @@ -DOCKER_REPO=marketplace-platform -DOCKER_USER=82everywin -MYSQL_ROOT_PASSWORD=marketplace -MYSQL_DATABASE=marketplace -MYSQL_USER=marketplace -MYSQL_PASSWORD=marketplace \ No newline at end of file diff --git a/.gitignore b/.gitignore index 8fcfbde..c81810b 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ bin/ !**/src/test/**/bin/ ### IntelliJ IDEA ### +application.properties application-dev.properties application-prod.properties .env diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties deleted file mode 100644 index 6c87091..0000000 --- a/src/main/resources/application-dev.properties +++ /dev/null @@ -1,27 +0,0 @@ -swagger.server-url=http://localhost:8080 - -# ???? ?? ?? ?? -spring.jpa.properties.hibernate.show_sql=true - -# ?? ?? ???? ??? ??? ?? ??? -spring.jpa.properties.hibernate.format_sql=true - -# ??? ???? ???? ??? ???? ?? -logging.level.org.hibernate.type.descriptor.sql=trace - -spring.jpa.hibernate.ddl-auto=update -spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect - -# MySql ?? ?? -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.jdbc-url=jdbc:mysql://localhost:3306/marketplace?serverTimezone=UTC -spring.datasource.username=marketplace -spring.datasource.password=marketplace - -# Oracle ????? ?? -oracle.datasource.driver-class-name=oracle.jdbc.OracleDriver -oracle.datasource.jdbc-url=jdbc:oracle:thin:@//117.16.191.204:2521/INUDB -oracle.datasource.username=LNK_MAP -oracle.datasource.password=map0115 - -image.upload.path=/app/image/ diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties deleted file mode 100644 index 58a4612..0000000 --- a/src/main/resources/application-prod.properties +++ /dev/null @@ -1,27 +0,0 @@ -swagger.server-url=https://marketplace.inuappcenter.kr - -# ???? ?? ?? ?? -spring.jpa.properties.hibernate.show_sql=true - -# ?? ?? ???? ??? ??? ?? ??? -spring.jpa.properties.hibernate.format_sql=true - -# ??? ???? ???? ??? ???? ?? -logging.level.org.hibernate.type.descriptor.sql=trace - -spring.jpa.hibernate.ddl-auto=update -spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect - -# MySql ?? ?? -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.jdbc-url=jdbc:mysql://server1.inuappcenter.kr:3306/marketplace?serverTimezone=UTC -spring.datasource.username=marketplace -spring.datasource.password=Marketplace1234! - -# Oracle ????? ?? -oracle.datasource.driver-class-name=oracle.jdbc.OracleDriver -oracle.datasource.jdbc-url=jdbc:oracle:thin:@//117.16.191.204:2521/INUDB -oracle.datasource.username=LNK_MAP -oracle.datasource.password=map0115 - -image.upload.path=/app/image/ diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index 47ece69..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1,5 +0,0 @@ -spring.application.name=marketplace - -#기본 활성 프로파일 -spring.profiles.active=dev -