mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
feat: halo 和 gitea 增加 postgres 数据库支持 (#776)
This commit is contained in:
parent
29d3afe2e1
commit
48e65c8ef6
@ -1,12 +1,21 @@
|
||||
additionalProperties:
|
||||
formFields:
|
||||
- default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
key: mysql
|
||||
- default: mysql
|
||||
envKey: PANEL_DB_TYPE
|
||||
labelEn: Database Service
|
||||
labelZh: 数据库服务
|
||||
required: true
|
||||
type: service
|
||||
type: apps
|
||||
child:
|
||||
default: ""
|
||||
envKey: PANEL_DB_HOST
|
||||
required: true
|
||||
type: service
|
||||
values:
|
||||
- label: MySQL
|
||||
value: mysql
|
||||
- label: PostgreSQL
|
||||
value: postgres
|
||||
- default: gitea
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
|
@ -6,8 +6,8 @@ services:
|
||||
environment:
|
||||
- USER_UID=1000
|
||||
- USER_GID=1000
|
||||
- GITEA__database__DB_TYPE=mysql
|
||||
- GITEA__database__HOST=${PANEL_DB_HOST}:3306
|
||||
- GITEA__database__DB_TYPE=${PANEL_DB_TYPE}
|
||||
- GITEA__database__HOST=${PANEL_DB_HOST}:${PANEL_DB_PORT}
|
||||
- GITEA__database__NAME=${PANEL_DB_NAME}
|
||||
- GITEA__database__USER=${PANEL_DB_USER}
|
||||
- GITEA__database__PASSWD=${PANEL_DB_USER_PASSWORD}
|
||||
|
@ -16,6 +16,8 @@ additionalProperties:
|
||||
value: mysql
|
||||
- label: MariaDB
|
||||
value: mariadb
|
||||
- label: PostgreSQL
|
||||
value: postgresql
|
||||
- default: halo
|
||||
envKey: PANEL_DB_NAME
|
||||
labelEn: Database
|
||||
|
Loading…
Reference in New Issue
Block a user