diff --git a/src/main/resources/application-local.yml b/src/main/resources/application-local.yml new file mode 100644 index 0000000..6652168 --- /dev/null +++ b/src/main/resources/application-local.yml @@ -0,0 +1,35 @@ +spring: + datasource: + driver-class-name: org.h2.Driver + url: 'jdbc:h2:mem:test' + username: sa + + h2: + console: + enabled: true + path: /h2-console + + jpa: + database-platform: org.hibernate.dialect.H2Dialect + hibernate: + ddl-auto: create-drop + properties: + hibernate: + dialect: org.hibernate.dialect.H2Dialect + # format_sql: true + # show_sql: true + + mvc: + async: + request-timeout: 60000 # 60 seconds + +logging: + level: + kr: + allcll: + seatfinder: + sse: debug + +app: + scheduling: + enabled: true diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 6652168..d74c444 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,35 +1,3 @@ spring: - datasource: - driver-class-name: org.h2.Driver - url: 'jdbc:h2:mem:test' - username: sa - - h2: - console: - enabled: true - path: /h2-console - - jpa: - database-platform: org.hibernate.dialect.H2Dialect - hibernate: - ddl-auto: create-drop - properties: - hibernate: - dialect: org.hibernate.dialect.H2Dialect - # format_sql: true - # show_sql: true - - mvc: - async: - request-timeout: 60000 # 60 seconds - -logging: - level: - kr: - allcll: - seatfinder: - sse: debug - -app: - scheduling: - enabled: true + profiles: + active: local diff --git a/src/main/resources/logback-spring.xml b/src/main/resources/logback-spring.xml index 4f1e362..78ccf4d 100644 --- a/src/main/resources/logback-spring.xml +++ b/src/main/resources/logback-spring.xml @@ -92,7 +92,7 @@ - +