Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
techhero-framework-config
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
techhero-framework-config
Commits
aa5e3d81
Commit
aa5e3d81
authored
Jan 14, 2022
by
cnnoter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add new file
parents
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
72 additions
and
0 deletions
+72
-0
application.yml
+72
-0
No files found.
application.yml
0 → 100644
View file @
aa5e3d81
spring
:
redis
:
database
:
10
host
:
test-env
port
:
6379
password
:
techhero
timeout
:
0
pool
:
max-active
:
8
max-wait
:
-1
max-idle
:
8
min-idle
:
0
datasource
:
druid
:
stat-view-servlet
:
loginUsername
:
root
loginPassword
:
root
initial-size
:
1
max-active
:
20
min-idle
:
3
max-wait
:
60000
time-between-eviction-runs-millis
:
60000
validation-query
:
select 1 from dual
filters
:
stat,slf4j
dynamic
:
primary
:
system
datasource
:
system
:
url
:
jdbc:mysql://dev-env:33060/system_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
username
:
root
password
:
techhero
driver-class-name
:
com.mysql.cj.jdbc.Driver
exam
:
url
:
jdbc:mysql://dev-env:33060/exam_db?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC
username
:
root
password
:
techhero
driver-class-name
:
com.mysql.cj.jdbc.Driver
rabbitmq
:
host
:
dev-env
port
:
5672
username
:
techhero
password
:
techhero
virtual-host
:
/framework
listener
:
simple
:
retry
:
enabled
:
true
max-attempts
:
5
# 交换机
exchanges
:
# 通配符订阅
-
name
:
topic.mode
type
:
TOPIC
# 广播
-
name
:
fanout.mode
type
:
FANOUT
# 消息头
-
name
:
headers.mode
type
:
HEADERS
# 队列
queues
:
# 直连队列
-
name
:
queue.direct.one
exchange-name
:
fanout.mode
# 队列2
-
name
:
queue.two
routing-key
:
queue.two.*
exchange-name
:
fanout.mode,topic.mode
-
name
:
queue.three
routing-key
:
queue.obj.*
exchange-name
:
topic.mode
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment