mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2025-02-09 11:35:56 +08:00
修复 nodedb 环境变量被覆盖
Signed-off-by: Meng Sen <qyg2297248353@gmail.com>
This commit is contained in:
parent
663daf4fd5
commit
05f4c89a58
@ -15,27 +15,6 @@ additionalProperties:
|
|||||||
required: true
|
required: true
|
||||||
rule: paramPort
|
rule: paramPort
|
||||||
type: number
|
type: number
|
||||||
- default: ""
|
|
||||||
edit: true
|
|
||||||
envKey: NODEBB_ADMIN_EMAIL
|
|
||||||
labelZh: 管理员邮箱
|
|
||||||
labelEn: Admin email
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: ""
|
|
||||||
edit: true
|
|
||||||
envKey: NODEBB_ADMIN_USERNAME
|
|
||||||
labelZh: 管理员用户名
|
|
||||||
labelEn: Admin username
|
|
||||||
required: true
|
|
||||||
type: text
|
|
||||||
- default: ""
|
|
||||||
edit: true
|
|
||||||
envKey: NODEBB_ADMIN_PASSWORD
|
|
||||||
labelZh: 管理员密码
|
|
||||||
labelEn: Admin password
|
|
||||||
required: true
|
|
||||||
type: password
|
|
||||||
- default: "postgres"
|
- default: "postgres"
|
||||||
edit: true
|
edit: true
|
||||||
envKey: NODEBB_DB
|
envKey: NODEBB_DB
|
||||||
|
@ -26,22 +26,9 @@ services:
|
|||||||
- bind_address=0.0.0.0
|
- bind_address=0.0.0.0
|
||||||
- port=4567
|
- port=4567
|
||||||
- url=http://127.0.0.1:4567
|
- url=http://127.0.0.1:4567
|
||||||
- admin__email=${NODEBB_ADMIN_EMAIL}
|
|
||||||
- admin__username=${NODEBB_ADMIN_USERNAME}
|
|
||||||
- admin__password=${NODEBB_ADMIN_PASSWORD}
|
|
||||||
- database=${NODEBB_DB}
|
- database=${NODEBB_DB}
|
||||||
- redis__host=${NODEBB_DB_HOST}
|
- ${NODEBB_DB}__host=${NODEBB_DB_HOST}
|
||||||
- redis__port=${NODEBB_DB_PORT}
|
- ${NODEBB_DB}__port=${NODEBB_DB_PORT}
|
||||||
- redis__database=${NODEBB_DB_NAME}
|
- ${NODEBB_DB}__database=${NODEBB_DB_NAME}
|
||||||
- redis__username=${NODEBB_DB_USER}
|
- ${NODEBB_DB}__username=${NODEBB_DB_USER}
|
||||||
- redis__password=${NODEBB_DB_PASSWORD}
|
- ${NODEBB_DB}__password=${NODEBB_DB_PASSWORD}
|
||||||
- postgres__host=${NODEBB_DB_HOST}
|
|
||||||
- postgres__port=${NODEBB_DB_PORT}
|
|
||||||
- postgres__database=${NODEBB_DB_NAME}
|
|
||||||
- postgres__username=${NODEBB_DB_USER}
|
|
||||||
- postgres__password=${NODEBB_DB_PASSWORD}
|
|
||||||
- mongo__host=${NODEBB_DB_HOST}
|
|
||||||
- mongo__port=${NODEBB_DB_PORT}
|
|
||||||
- mongo__database=${NODEBB_DB_NAME}
|
|
||||||
- mongo__username=${NODEBB_DB_USER}
|
|
||||||
- mongo__password=${NODEBB_DB_PASSWORD}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user