refactor: phpmyadmin 登录页增加数据库服务地址选项 (#273)

This commit is contained in:
wanghe 2023-08-02 16:54:53 +08:00 committed by GitHub
parent 468102d53e
commit 50a3e98a5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 8 deletions

View File

@ -1,12 +1,5 @@
additionalProperties:
formFields:
- default: ""
envKey: PANEL_DB_HOST
key: mysql
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: 8089
envKey: PANEL_APP_PORT_HTTP
labelEn: Port

View File

@ -7,7 +7,7 @@ services:
ports:
- ${PANEL_APP_PORT_HTTP}:80
environment:
- PMA_HOST=${PANEL_DB_HOST}
- PMA_ARBITRARY=1
networks:
- 1panel-network
volumes: