Skip to content

Commit

Permalink
chore: application.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
essential2189 committed Jan 22, 2024
1 parent 2c48d46 commit 2ddfd13
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 11 deletions.
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,12 @@ repositories {
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-data-redis'
implementation 'org.springframework.boot:spring-boot-starter-web'
compileOnly 'org.projectlombok:lombok'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
developmentOnly 'org.springframework.boot:spring-boot-docker-compose'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
annotationProcessor 'org.projectlombok:lombok'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ public class TodayPopupApplication {
public static void main(String[] args) {
SpringApplication.run(TodayPopupApplication.class, args);
}

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
server:
port: 8080

spring:
config:
activate:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
server:
port: 8080

spring:
profiles:
default: local
config:
activate:
on-profile: local

datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
Expand Down
18 changes: 18 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
server:
port: 8080

management:
endpoints:
health:
show-details: always
web:
base-path: /
path-mapping:
health: check_health
health:
disk-space:
enabled: false

spring:
profiles:
default: local

0 comments on commit 2ddfd13

Please sign in to comment.