app.yml增加对容器环境变量的支持,可不挂载config直接定义配置
This commit is contained in:
@@ -4,7 +4,7 @@ server:
|
|||||||
neutrino:
|
neutrino:
|
||||||
proxy:
|
proxy:
|
||||||
protocol:
|
protocol:
|
||||||
max-frame-length: 2097152
|
max-frame-length: ${MAX_FRAME_LENGTH:2097152}
|
||||||
length-field-offset: 0
|
length-field-offset: 0
|
||||||
length-field-length: 4
|
length-field-length: 4
|
||||||
initial-bytes-to-strip: 0
|
initial-bytes-to-strip: 0
|
||||||
@@ -15,20 +15,20 @@ neutrino:
|
|||||||
server:
|
server:
|
||||||
boss-thread-count: 10
|
boss-thread-count: 10
|
||||||
work-thread-count: 60
|
work-thread-count: 60
|
||||||
port: 9000
|
port: ${OPEN_PORT:9000}
|
||||||
ssl-port: 9002
|
ssl-port: ${SSL_PORT:9002}
|
||||||
key-store-password: 123456
|
key-store-password: ${STORE_PASS:123456}
|
||||||
key-manager-password: 123456
|
key-manager-password: ${MGR_PASS:123456}
|
||||||
jks-path: classpath:/test.jks
|
jks-path: ${JKS_PATH:classpath:/test.jks}
|
||||||
# 如果不配置,则不支持代理http
|
# 如果不配置,则不支持代理http
|
||||||
domain-name:
|
domain-name: ${DOMAIN_NAME:}
|
||||||
data:
|
data:
|
||||||
db:
|
db:
|
||||||
type: sqlite
|
type: ${DB_TYPE:sqlite}
|
||||||
url: jdbc:sqlite:data.db
|
url: ${DB_URL:jdbc:sqlite:data.db}
|
||||||
driver-class: org.sqlite.JDBC
|
driver-class: ${DB_DRIVER:org.sqlite.JDBC}
|
||||||
username:
|
username: ${DB_USER:}
|
||||||
password:
|
password: ${DB_PASSWORD:}
|
||||||
|
|
||||||
#添加MIME印射(如果有需要?)
|
#添加MIME印射(如果有需要?)
|
||||||
#是否启用静态文件服务。(可不配,默认为启用)
|
#是否启用静态文件服务。(可不配,默认为启用)
|
||||||
|
|||||||
Reference in New Issue
Block a user