mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-07-26 15:38:57 +08:00
46 lines
957 B
YAML
46 lines
957 B
YAML
geolite2:
|
|
url: 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=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&suffix=tar.gz'
|
|
|
|
server:
|
|
port: 7456
|
|
|
|
spring:
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: update
|
|
show-sql: true
|
|
datasource:
|
|
|
|
druid:
|
|
driver-class-name: org.postgresql.Driver
|
|
url: jdbc:postgresql://localhost:5432/coal
|
|
username: postgres
|
|
password: 'abc@123'
|
|
initial-size: 10
|
|
max-active: 200
|
|
min-idle: 10
|
|
validation-query: "select 1"
|
|
validation-query-timeout: 1000
|
|
test-on-borrow: true
|
|
test-on-return: true
|
|
enable: true
|
|
task:
|
|
execution:
|
|
pool:
|
|
max-size: 20
|
|
queue-capacity: 1000
|
|
thread-name-prefix: task-
|
|
scheduling:
|
|
thread-name-prefix: schedule-
|
|
data:
|
|
redis:
|
|
host: localhost
|
|
port: 6379
|
|
password: 'abc@123'
|
|
|
|
cache:
|
|
|
|
type: redis
|
|
redis:
|
|
enable-statistics: true
|