-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplication.yml
71 lines (59 loc) · 1.72 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# game-specific settings
elimination:
words: classpath:sgb-words.txt
words-per-code: 3
registration-deadline: 2023-01-24T23:59
game-start-time: 2023-01-27T00:00
game-end-time: 2023-02-11T00:00
client-id: ${CLIENT_ID:null}
client-secret: ${CLIENT_SECRET:null}
admins:
sse.enabled: true
# database configuration
spring.datasource.url: ${JDBC_DATABASE_URL}
spring.datasource.username: ${JDBC_DATABASE_USERNAME}
spring.datasource.password: ${JDBC_DATABASE_PASSWORD}
spring.rabbitmq.host: ${RABBITMQ_HOST}
sentry:
dsn: https://10a99dc899b14b05a86a7177f92d68e6@o4504552325644288.ingest.sentry.io/4504552326823936
traces-sample-rate: 1.0
# server configuration
server.port: ${PORT:8080}
server.servlet.session.cookie.same-site: none
server.servlet.session.timeout: 4320m
server.servlet.context-path: /api
spring:
jpa:
open-in-view: false
datasource.hikari.maximum-pool-size: 5
datasource.hikari.leak-detection-threshold: 30000
jpa.hibernate.ddl-auto: update
thymeleaf:
cache: false
mode: HTML
encoding: UTF-8
session.store-type: jdbc
session.jdbc.initialize-schema: always
jpa.generate-ddl: true
server:
error:
whitelabel:
enabled: false
path: '/error'
forward-headers-strategy: native
management:
health:
livenessstate.enabled: true
readinessstate.enabled: true
endpoints:
web.exposure.include: "*"
health.probes.enabled: true
metrics.enabled: true
prometheus.enabled: true
metrics.export.prometheus.enabled: true
#logging:
# level:
# com.zaxxer.hikari: TRACE