config profiles별 분리

dev
Jonguk. Lim 6 months ago
parent 698fdf748b
commit 49d5de36cd

@ -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

Loading…
Cancel
Save