diff --git a/pom.xml b/pom.xml
index d226332..aaabae7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,8 +22,21 @@
8022
8023
${server.port} ${management.port}
+ 2021.0.7
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+
+
@@ -57,6 +70,10 @@
telegrambots-spring-boot-starter
6.5.0
+
+ org.springframework.cloud
+ spring-cloud-starter-vault-config
+
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index cf68bcb..2d999ed 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -1,6 +1,46 @@
+management:
+ security:
+ flag: false
+ server:
+ port: ${management.port}
+ metrics:
+ tags:
+ application: ${project.name}
+ export:
+ prometheus:
+ enabled: true
+ endpoint:
+ health:
+ show-details: always
+ metrics:
+ enabled: true
+ prometheus:
+ enabled: true
+ endpoints:
+ web:
+ exposure:
+ include: health,info,prometheus
+
+spring:
+ application:
+ name: '@project.name@'
+ output:
+ ansi:
+ enabled: always
+ main:
+ allow-bean-definition-overriding: true
+ cloud:
+ vault:
+ kv:
+ enabled: true
+ uri: https://vault.empayre.com:443
+ authentication: TOKEN
+ scheme: http
+ token: "123456"
+
bot:
username: DevValityTgBot
- token: xxx
+ token: ${botToken}
chats:
tech.vality.chat.id: "xxx"