feat: phpmyadmin 更新到 5.2.1

This commit is contained in:
zhengkunwang223 2023-03-22 14:17:34 +08:00
parent 5474a4841a
commit 9de219a82c
10 changed files with 25 additions and 9 deletions

View File

@ -70,7 +70,6 @@
"labelEn": "Admin Username", "labelEn": "Admin Username",
"required": true, "required": true,
"default": "admin", "default": "admin",
"random": true,
"rule": "paramCommon", "rule": "paramCommon",
"envKey": "HALO_ADMIN" "envKey": "HALO_ADMIN"
}, },

View File

@ -10,6 +10,12 @@ services:
- ./data:/root/.halo2 - ./data:/root/.halo2
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8090 - ${PANEL_APP_PORT_HTTP}:8090
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness" ]
interval: 30s
timeout: 5s
retries: 5
start_period: 30s
command: command:
- --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME} - --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME}
- --spring.r2dbc.username=${PANEL_DB_USER} - --spring.r2dbc.username=${PANEL_DB_USER}

View File

@ -70,7 +70,6 @@
"labelEn": "Admin Username", "labelEn": "Admin Username",
"required": true, "required": true,
"default": "admin", "default": "admin",
"random": true,
"rule": "paramCommon", "rule": "paramCommon",
"envKey": "HALO_ADMIN" "envKey": "HALO_ADMIN"
}, },

View File

@ -10,6 +10,12 @@ services:
- ./data:/root/.halo2 - ./data:/root/.halo2
ports: ports:
- ${PANEL_APP_PORT_HTTP}:8090 - ${PANEL_APP_PORT_HTTP}:8090
healthcheck:
test: [ "CMD", "curl", "-f", "http://localhost:8090/actuator/health/readiness" ]
interval: 30s
timeout: 5s
retries: 5
start_period: 30s
command: command:
- --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME} - --spring.r2dbc.url=r2dbc:pool:${HALO_PLATFORM}://${PANEL_DB_HOST}:${HALO_DB_PORT}/${PANEL_DB_NAME}
- --spring.r2dbc.username=${PANEL_DB_USER} - --spring.r2dbc.username=${PANEL_DB_USER}

View File

@ -101,7 +101,7 @@
"key": "phpmyadmin", "key": "phpmyadmin",
"name": "phpMyAdmin", "name": "phpMyAdmin",
"tags": ["Tool"], "tags": ["Tool"],
"versions": ["5.2.0"], "versions": ["5.2.1"],
"shortDescZh": "MySQL 数据库管理工具", "shortDescZh": "MySQL 数据库管理工具",
"shortDescEn": "MySQL database management tools", "shortDescEn": "MySQL database management tools",
"type": "tool", "type": "tool",

View File

@ -0,0 +1,9 @@
file_uploads = On
memory_limit = 64M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 600

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
phpmyadmin: phpmyadmin:
image: phpmyadmin/phpmyadmin:5.2.0 image: phpmyadmin/phpmyadmin:5.2.1
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
restart: always restart: always
ports: ports:
@ -10,9 +10,10 @@ services:
- PMA_HOST=${PANEL_DB_HOST} - PMA_HOST=${PANEL_DB_HOST}
networks: networks:
- 1panel-network - 1panel-network
volumes:
- ./conf.d/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
labels: labels:
createdBy: "Apps" createdBy: "Apps"
networks: networks:
1panel-network: 1panel-network:
external: true external: true

View File

@ -7,10 +7,6 @@
"required": true, "required": true,
"default": "postgresql", "default": "postgresql",
"values": [ "values": [
{
"label": "PostgreSQL",
"value": "postgresql"
},
{ {
"label": "MySQL", "label": "MySQL",
"value": "mysql" "value": "mysql"