Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
operation-control-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王锦盛
operation-control-platform
Commits
8eaec4eb
Commit
8eaec4eb
authored
Mar 01, 2022
by
王锦盛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置文件
parent
bacd5a0c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
121 additions
and
0 deletions
+121
-0
src/main/resources/application-dev.yml
src/main/resources/application-dev.yml
+28
-0
src/main/resources/application-local.yml
src/main/resources/application-local.yml
+18
-0
src/main/resources/application-prod.yml
src/main/resources/application-prod.yml
+18
-0
src/main/resources/application.yml
src/main/resources/application.yml
+57
-0
No files found.
src/main/resources/application-dev.yml
0 → 100644
View file @
8eaec4eb
spring
:
datasource
:
driver-class-name
:
org.postgresql.Driver
username
:
postgres
password
:
passwd123
type
:
com.zaxxer.hikari.HikariDataSource
jdbc-url
:
jdbc:postgresql://cloud.wodcloud.com:33070/apaas4?stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
redis
:
host
:
117.187.130.178
port
:
33077
database
:
0
timeout
:
3
password
:
pool
:
minIdle
:
1
maxIdle
:
10
maxWait
:
3
maxActive
:
8
knife4j
:
enable
:
true
#beagle:
# jwt:
# secret-key: ac2ceb11e6be4d9ea0a71c9b270c1cb8
# token-prefix: Bearer
# expire-time: 18000
\ No newline at end of file
src/main/resources/application-local.yml
0 → 100644
View file @
8eaec4eb
spring
:
datasource
:
driver-class-name
:
org.postgresql.Driver
username
:
postgres
password
:
postgresql
type
:
com.zaxxer.hikari.HikariDataSource
# jdbc-url: jdbc:postgresql://192.168.43.20:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
# jdbc-url: jdbc:postgresql://172.20.10.9:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
jdbc-url
:
jdbc:postgresql://192.168.1.152:33072/pms3?currentSchema=public&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
knife4j
:
enable
:
true
#beagle:
# jwt:
# secret-key: ac2ceb11e6be4d9ea0a71c9b270c1cb8
# token-prefix: Bearer
# expire-time: 18000
\ No newline at end of file
src/main/resources/application-prod.yml
0 → 100644
View file @
8eaec4eb
spring
:
datasource
:
driver-class-name
:
org.postgresql.Driver
username
:
ocp_user
password
:
spaceIN511
type
:
com.zaxxer.hikari.HikariDataSource
jdbc-url
:
jdbc:postgresql://172.37.41.175:5432/pms3?currentSchema=operating_platform&stringtype=unspecified&TimeZone=Asia/Shanghai&useAffectedRows=true
knife4j
:
enable
:
true
#beagle:
# jwt:
# secret-key: ac2ceb11e6be4d9ea0a71c9b270c1cb8
# token-prefix: Bearer
# expire-time: 18000
src/main/resources/application.yml
0 → 100644
View file @
8eaec4eb
server
:
port
:
8020
# servlet:
# context-path: ${context-path:/pms-ocp}
spring
:
application
:
name
:
dashboard
profiles
:
active
:
${profiles-active:local}
datasource
:
driver-class-name
:
org.postgresql.Driver
username
:
${username}
password
:
${password}
type
:
com.zaxxer.hikari.HikariDataSource
jdbc-url
:
${DB_URL}
redis
:
host
:
${redis-host:127.0.0.1}
port
:
${redis-port:6379}
database
:
0
timeout
:
3
password
:
pool
:
minIdle
:
1
maxIdle
:
10
maxWait
:
3
maxActive
:
8
knife4j
:
enable
:
true
mybatis-plus
:
mapper-locations
:
classpath:/mapper/*.xml
configuration
:
log-impl
:
org.apache.ibatis.logging.slf4j.Slf4jImpl
logging
:
level
:
com.pms.ocp.mapper
:
debug
org.springframework
:
warn
system
:
company_name
:
${company_name:国网山东电力}
company_code
:
${company_code:074001001}
beagle
:
jwt
:
secret-key
:
memDataSource
token-prefix
:
Bearer
app-id
:
8a10843a6a535e33016b873f96b7002f
expire-time
:
18000
# Swagger配置
swagger
:
# 是否开启swagger
enabled
:
true
\ No newline at end of file
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