-
Notifications
You must be signed in to change notification settings - Fork 6
/
application.yml
55 lines (46 loc) · 1.16 KB
/
application.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
micronaut:
application:
name: LastkatkaBot
server:
port: 8080
metrics:
enabled: true
export:
prometheus:
enabled: true
step: PT1M
descriptions: true
executors:
scheduled:
type: scheduled
core-pool-size: 3
endpoints:
prometheus:
sensitive: false
health:
enabled: true
sensitive: false
jackson:
serializationInclusion: ALWAYS
datasources:
default:
url: jdbc:postgresql://${DBHOST:localhost}:${DBPORT:5432}/${DBNAME:lastkatkabot}
username: ${DBUSER:lastkatkabot}
password: ${DBPASS:sa}
driver-class-name: org.postgresql.Driver
schema-generate: NONE
dialect: POSTGRES
flyway:
datasources:
default:
enabled: true
bot:
username: ${BOT_USERNAME} # bot username without @
token: ${BOT_TOKEN} # telegram bot token
timezone: "Europe/Kiev" # timezone for /pair, /wish and other time-based features
mainAdminId: ${MAIN_ADMIN_ID} # id of main admin
notificationChannelId: ${NOTIFICATION_CHANNEL_ID} # id of channel/group where feedbacks and error logs will be sent
locale:
adminLocale: en
defaultLocale: en
supportedLocales: [ "en", "ru", "uk" ]