config profiles별 분리

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

@ -21,14 +21,6 @@ spring:
init: init:
platform: mariadb 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: mvc:
static-path-pattern: /resources/**,/files/** static-path-pattern: /resources/**,/files/**
web: web:
@ -59,6 +51,18 @@ spring:
activate: activate:
on-profile: local 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: app:
api: api:
host: http://localhost:9076 host: http://localhost:9076
@ -69,6 +73,21 @@ spring:
activate: activate:
on-profile: prod 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: app:
api: api:
host: http://localhost:9076 host: http://localhost:9076

Loading…
Cancel
Save