Skip to content

Commit 937140f

Browse files
committed
Fix health endpoint
1 parent 498a074 commit 937140f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ repositories {
2323

2424
dependencies {
2525
implementation("org.springframework.boot:spring-boot-starter-web")
26+
implementation("org.springframework.boot:spring-boot-starter-actuator")
2627
implementation("io.github.cdimascio:dotenv-java:2.2.0")
2728
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
2829
implementation("org.jetbrains.kotlin:kotlin-reflect")

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ services:
1010
ports:
1111
- ${DEPLOYMENT_PORT:-20080}:8080
1212
healthcheck:
13-
test: curl --silent --fail http://127.0.0.1:8080/actuator/health/readiness | grep UP || exit 1
13+
test: curl --silent --fail http://127.0.0.1:8080/api/actuator/health | grep UP || exit 1
1414
interval: 10s
1515
retries: 10
1616
start_period: 60s
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
spring.application.name=wallet-server
2+
23
springdoc.swagger-ui.path=/docs
3-
spring.datasource.url=jdbc:h2:mem:database
44
springdoc.api-docs.path=/raw-docs
5+
6+
spring.datasource.url=jdbc:h2:mem:database
57
spring.datasource.driverClassName=org.h2.Driver
68
spring.datasource.username=sa
79
spring.datasource.password=
10+
811
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
12+
913
spring.h2.console.enabled=true
14+
1015
spring.mvc.servlet.path=/api
11-
private.key=${PRIVATE_KEY}
16+
17+
private.key=${PRIVATE_KEY}

0 commit comments

Comments
 (0)