Skip to content

Commit

Permalink
add :: yml & application annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
meltapplee committed Feb 12, 2024
1 parent 5544d02 commit c92bff5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ package com.xquare.v1userservice

import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication
import org.springframework.cloud.openfeign.EnableFeignClients

internal const val BASE_PACKAGE = "com.xquare.v1userservice"

@EnableFeignClients
@SpringBootApplication
class V1UserServiceApplication

Expand Down
10 changes: 10 additions & 0 deletions user-infrastructure/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ spring:
config:
username: ${CLOUD_CONFIG_USERNAME}
password: ${CLOUD_CONFIG_PASSWORD}

server:
shutdown: graceful
scheme: ${SCHEME}
host: ${HOST}
port: ${PORT}
database: ${DB_NAME}
username: ${USERNAME}
password: ${PASSWORD}

management:
endpoints:
Expand All @@ -26,3 +33,6 @@ management:
endpoint:
health:
show-details: when_authorized

excel:
url: ${EXCEL_URL}

0 comments on commit c92bff5

Please sign in to comment.