feat: 升级 wordpress 镜像到 6.2.0 (#22)

This commit is contained in:
zhengkunwang223 2023-04-13 14:54:34 +08:00 committed by GitHub
parent fdab50bc4c
commit 2207949bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 8 additions and 2 deletions

View File

@ -65,7 +65,7 @@
"key": "wordpress", "key": "wordpress",
"name": "WordPress", "name": "WordPress",
"tags": ["WebSite"], "tags": ["WebSite"],
"versions": ["6.0.1","6.0.2"], "versions": ["6.2.0"],
"shortDescZh": "著名的开源博客软件和 CMS 系统", "shortDescZh": "著名的开源博客软件和 CMS 系统",
"shortDescEn": "Open source blogging software and content management system", "shortDescEn": "Open source blogging software and content management system",
"type": "website", "type": "website",

View File

@ -0,0 +1,5 @@
file_uploads = On
memory_limit = 256M
upload_max_filesize = 32M
post_max_size = 32M
max_execution_time = 360

View File

@ -1,7 +1,7 @@
version: '3' version: '3'
services: services:
wordpress: wordpress:
image: wordpress:6.0.2 image: wordpress:6.2.0
container_name: ${CONTAINER_NAME} container_name: ${CONTAINER_NAME}
ports: ports:
- ${PANEL_APP_PORT_HTTP}:80 - ${PANEL_APP_PORT_HTTP}:80
@ -10,6 +10,7 @@ services:
- 1panel-network - 1panel-network
volumes: volumes:
- ./data:/var/www/html - ./data:/var/www/html
- ./conf/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini
environment: environment:
WORDPRESS_DB_HOST: ${PANEL_DB_HOST} WORDPRESS_DB_HOST: ${PANEL_DB_HOST}
WORDPRESS_DB_NAME: ${PANEL_DB_NAME} WORDPRESS_DB_NAME: ${PANEL_DB_NAME}