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