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
b53d1afe
Commit
b53d1afe
authored
Feb 09, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
3cfded4e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
63 additions
and
0 deletions
+63
-0
techhero-commservice-upload-sitinner.yml
+63
-0
No files found.
techhero-commservice-upload-sitinner.yml
0 → 100644
View file @
b53d1afe
spring
:
redis
:
database
:
10
host
:
119.96.87.17
port
:
6379
password
:
techhero
timeout
:
5000
pool
:
max-active
:
8
max-wait
:
-1
max-idle
:
8
min-idle
:
0
file-storage
:
#文件存储配置,不使用的情况下可以不写
default-platform
:
minio
#默认使用的存储平台
thumbnail-suffix
:
"
.min.jpg"
#缩略图后缀,例如【.min.jpg】【.png】
local
:
# 本地存储(不推荐使用)
-
platform
:
local
# 存储平台标识
enable-storage
:
true
#启用存储
enable-access
:
true
#启用访问(线上请使用 Nginx 配置,效率更高)
domain
:
"
http://127.0.0.1:16820/"
# 访问域名,例如:“http://127.0.0.1:18080/picture/image/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名
base-path
:
/Users/wwq/Desktop/kdsfrz/image/
# 存储地址
path-patterns
:
/**
# 访问路径,开启 enable-access 后,通过此路径可以访问到上传的文件
localPlus
:
# 本地存储升级版
-
platform
:
localPlus
# 存储平台标识
enable-storage
:
true
#启用存储
enable-access
:
true
#启用访问(线上请使用 Nginx 配置,效率更高)
domain
:
"
http://127.0.0.1:16820/"
# 访问域名,例如:“http://127.0.0.1:8030/”,注意后面要和 path-patterns 保持一致,“/”结尾,本地存储建议使用相对路径,方便后期更换域名
path-patterns
:
/**
# 访问路径
base-path
:
upload/
# 基础路径
storage-path
:
/Users/wwq/Desktop/
# 存储路径
minio
:
# MinIO,由于 MinIO SDK 支持 AWS S3,其它兼容 AWS S3 协议的存储平台也都可配置在这里
-
platform
:
minio
# 存储平台标识
enable-storage
:
true
# 启用存储
access-key
:
Tj3lmVW59Zjq4gDQ
secret-key
:
De2SOr1MCflzUM8YwA9UKVBj3suuc8ci
end-point
:
http://119.96.87.17:30107
bucket-name
:
unionresource
domain
:
http://119.96.87.17:30107/
# 访问域名,注意“/”结尾,例如:http://minio.abc.com/abc/
base-path
:
upload/
# 基础路径
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
:
basic
datasource
:
basic
:
url
:
jdbc:oracle:thin:@databaseServer:30100:orcl
username
:
ur_base_local
password
:
YmFzZV9sb2NhbA==
driver-class-name
:
oracle.jdbc.OracleDriver
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