-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy pathapplication.yml
More file actions
65 lines (60 loc) · 1.75 KB
/
Copy pathapplication.yml
File metadata and controls
65 lines (60 loc) · 1.75 KB
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
server:
port: ${SERVER_PORT:8080}
spring:
application:
name: wallet-app
datasource:
url: ${DB_URL:jdbc:mysql://127.0.0.1:3306/wallet_db?allowMultiQueries=true&useSSL=false&characterEncoding=UTF-8&autoReconnect=true}
username: ${DB_USERNAME:root}
password: ${DB_PASSWORD:}
hikari:
maximum-pool-size: ${DB_POOL_MAX:20}
minimum-idle: ${DB_POOL_MIN:2}
jpa:
hibernate:
ddl-auto: none
show-sql: false
open-in-view: false
properties:
hibernate:
dialect: org.hibernate.dialect.MySQLDialect
jdbc:
batch_size: 50
order_inserts: true
order_updates: true
cache:
type: caffeine
keystore:
dir: ${KEYSTORE_DIR:/data/keystores}
password: ${WALLET_KEYSTORE_PASSWORD:${KEYSTORE_PASSWORD:}}
eosDepositAddress: ${EOS_DEPOSIT_ADDRESS:}
management:
endpoints:
web:
exposure:
include: health,info,prometheus,metrics
endpoint:
health:
show-details: when_authorized
metrics:
tags:
application: ${spring.application.name}
wallet:
signing:
# TOKENCORE | EXTERNAL — per-chain override in wallet_chain_config.signing_backend when column exists; see WalletChainProperties
default-backend: TOKENCORE
tokencore:
# Ethereum chain id for signing (1 = mainnet, 11155111 = Sepolia, etc.)
ethereum-chain-id: ${ETH_SIGN_CHAIN_ID:1}
# Bitcoin chain id for signing (0 = mainnet, 1 = testnet)
bitcoin-chain-id: ${BTC_SIGN_CHAIN_ID:0}
external-signer:
base-url: ${EXTERNAL_SIGNER_BASE_URL:}
connect-timeout-ms: ${EXTERNAL_SIGNER_CONNECT_TIMEOUT_MS:5000}
read-timeout-ms: ${EXTERNAL_SIGNER_READ_TIMEOUT_MS:30000}
logging:
level:
root: INFO
com.wallet: ${LOG_LEVEL:INFO}
file:
name: logs/wallet-app.log