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: additionalProperties:
formFields: formFields:
- default: ""
envKey: PANEL_DB_HOST
key: mysql
labelEn: Database Service
labelZh: 数据库服务
required: true
type: service
- default: 8089 - default: 8089
envKey: PANEL_APP_PORT_HTTP envKey: PANEL_APP_PORT_HTTP
labelEn: Port labelEn: Port

View File

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