diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml new file mode 100644 index 0000000..c22c5b4 --- /dev/null +++ b/src/main/resources/application-dev.yml @@ -0,0 +1,27 @@ +spring: + datasource: + server: + driver-class-name: org.mariadb.jdbc.Driver + url: jdbc:mariadb://localhost:3306/mjon + jdbc-url: jdbc:mariadb://localhost:3306/mjon + username: root + password: 1234 + connectionTimeout: 30000 + maximumPoolSize: 15 + maxLifetime: 1800000 + poolName: HikariCP + connectionTestQuery: SELECT 1 + +server: + port: 8090 + shutdown: graceful + +# ### 에이전트 설정 관련 #################################################################################### +#agent: +# root-path: /home/mjon_server_agent +# server-property-file: /home/mjon_server_agent/config/server.properties +# db-name: mjon_agent_back +agent: + root-path: /Users/jangdongsin/DevDocs/apps/itn/agent_server + server-property-file: /Users/jangdongsin/DevDocs/apps/itn/agent_server/config/server.properties + db-name: mjon_agent_back \ No newline at end of file diff --git a/src/main/resources/local/application-local.yml b/src/main/resources/application-local.yml similarity index 100% rename from src/main/resources/local/application-local.yml rename to src/main/resources/application-local.yml diff --git a/src/main/resources/prod/application-prod.yml b/src/main/resources/application-prod.yml similarity index 100% rename from src/main/resources/prod/application-prod.yml rename to src/main/resources/application-prod.yml diff --git a/src/main/resources/dev/application-dev.yml b/src/main/resources/dev/application-dev.yml deleted file mode 100644 index cf930a8..0000000 --- a/src/main/resources/dev/application-dev.yml +++ /dev/null @@ -1,23 +0,0 @@ -spring: - datasource: - server: - driver-class-name: org.mariadb.jdbc.Driver - url: jdbc:mariadb://192.168.0.125:3306/mjon_agent_back - jdbc-url: jdbc:mariadb://192.168.0.125:3306/mjon_agent_back - username: mjonUr_agent - password: mjagent123$ - connectionTimeout: 30000 - maximumPoolSize: 15 - maxLifetime: 1800000 - poolName: HikariCP - connectionTestQuery: SELECT 1 - -server: - port: 8090 - shutdown: graceful - -# ### 에이전트 설정 관련 #################################################################################### -agent: - root-path: /home/mjon_server_agent - server-property-file: /home/mjon_server_agent/config/server.properties - db-name: mjon_agent_back \ No newline at end of file