diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6c7aef6..7b267ad 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -21,14 +21,6 @@ spring: init: platform: mariadb - datasource: - hikari: - driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy - jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false - username: addsweb - password: addsweb1234 - auto-commit: false - mvc: static-path-pattern: /resources/**,/files/** web: @@ -59,6 +51,18 @@ spring: activate: on-profile: local + datasource: + hikari: + driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy + jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false + username: addsweb + password: addsweb1234 + auto-commit: false + +propertyService: + properties: + - tempDir: C:\temppp + app: api: host: http://localhost:9076 @@ -69,6 +73,21 @@ spring: activate: on-profile: prod + datasource: + hikari: + driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy + jdbc-url: jdbc:log4jdbc:mariadb://211.119.124.9:4407/adds?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Seoul&useSSL=false + username: addsweb + password: addsweb1234 + auto-commit: false + +server: + port: 9077 + +propertyService: + properties: + - tempDir: C:\temp + app: api: host: http://localhost:9076