generated from brandonfl/discord-java-docker-bot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
application.properties
57 lines (46 loc) · 2.2 KB
/
application.properties
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
# ===============================
# SETTINGS
# ===============================
bot.setting.version=2.0.1
bot.setting.token=${BOT_TOKEN:/var/run/secrets/bot-token}
bot.setting.guid-development-id=${BOT_SETTING_GUID_DEVELOPMENT_ID:}
bot.setting.heartbeat-status-url=${HEARTBEAT_STATUS_URL:}
bot.setting.ownerId=${BOT_OWNER_ID:226715707017134080}
bot.setting.persistence.user.thread-number=${BOT_SETTING_PERSISTENCE_USER_THREAD_NUMBER:1}
bot.setting.persistence.server.thread-number=${BOT_SETTING_PERSISTENCE_SERVER_THREAD_NUMBER:1}
bot.setting.persistence.role.thread-number=${BOT_SETTING_PERSISTENCE_ROLE_THREAD_NUMBER:1}
bot.setting.persistence.reload-at-bot-reload=${BOT_SETTING_PERSISTENCE_RELOAD_AT_BOT_RELOAD:true}
bot.setting.persistence.persist-at-role-change=${BOT_PERSISTENCE_PERSIST_AT_ROLE_CHANGE:false}
bot.setting.heartbeatStatusUrl=${HEARTBEAT_STATUS_URL:}
logging.file.name=${LOG_FILE:./log/bot.log}
# ===============================
# LOGGER
# ===============================
logging.level.root=INFO
spring.output.ansi.enabled=ALWAYS
logging.pattern.console=%clr(%d{yy-MM-dd HH:mm:ss.SSS}){faint} %clr(%-5p) %clr(---){faint} %clr(%-40.40logger{39}){blue} %clr(:){red} %clr(%m){faint}%n
# ===============================
# DATABASE
# ===============================
bot-datasource.host=${DB_HOST:}
bot-datasource.name=${DB_NAME:bot}
bot-datasource.username=${DB_USERNAME:bot}
bot-datasource.password=${DB_PASSWORD:bot}
bot-datasource.timezone=${DB_TIMEZONE:UTC}
bot-datasource.path=${DB_PATH:./data/drp}
# ===============================
# JPA / HIBERNATE
# ===============================
spring.jpa.show-sql=false
spring.jpa.hibernate.ddl-auto=none
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
spring.jpa.properties.hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
# Liquibase changeLogFile
spring.liquibase.changeLog=classpath:/db/changelog/db.changelog-master.xml
# ===============================
# SENTRY
# ===============================
sentry.dsn=${SENTRY_DSN:}
sentry.environment=${SENTRY_ENVIRONMENT:}
sentry.traces-sample-rate=${SENTRY_TRACES_SAMPLE_RATE:0}
sentry.exception-resolver-order=${SENTRY_EXCEPTION_RESOLVER_ORDER:-2147483647}