Browse Source

spring boot profiles 설정변경으로 인한 수정

feature/auth
지대한 2 years ago
parent
commit
b6b3fd231a
  1. 16
      src/main/resources/application-database.yml
  2. 17
      src/main/resources/application.yml

16
src/main/resources/application-database.yml

@ -1,5 +1,7 @@
spring:
profiles: local
config:
activate:
on-profile: local
datasource:
control:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
@ -14,7 +16,9 @@ spring:
validationtimeout: 5000
---
spring:
profiles: dev
config:
activate:
on-profile: dev
datasource:
control:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
@ -29,7 +33,9 @@ spring:
validationtimeout: 5000
---
spring:
profiles: prod
config:
activate:
on-profile: prod
datasource:
control:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
@ -45,7 +51,9 @@ spring:
---
spring:
profiles: prod2
config:
activate:
on-profile: prod2
datasource:
control:
driver-class-name: net.sf.log4jdbc.sql.jdbcapi.DriverSpy

17
src/main/resources/application.yml

@ -16,7 +16,9 @@ logging:
---
spring:
profiles: local
config:
activate:
on-profile: local
devtools:
livereload:
enabled: true
@ -43,6 +45,7 @@ spring:
show_sql: false
# format_sql: true
format_sql: false
server:
port: 8080
servlet:
@ -65,7 +68,9 @@ netty:
---
spring:
profiles: dev
config:
activate:
on-profile: dev
devtools:
livereload:
enabled: true
@ -106,7 +111,9 @@ netty:
---
spring:
profiles: prod
config:
activate:
on-profile: prod
devtools:
livereload:
enabled: true
@ -151,7 +158,9 @@ netty:
---
spring:
profiles: prod2
config:
activate:
on-profile: prod2
devtools:
livereload:
enabled: true

Loading…
Cancel
Save