diff --git a/apps/list.json b/apps/list.json index 20443fcf..29b9d974 100644 --- a/apps/list.json +++ b/apps/list.json @@ -65,7 +65,7 @@ "key": "wordpress", "name": "WordPress", "tags": ["WebSite"], - "versions": ["6.0.1","6.0.2"], + "versions": ["6.2.0"], "shortDescZh": "著名的开源博客软件和 CMS 系统", "shortDescEn": "Open source blogging software and content management system", "type": "website", diff --git a/apps/wordpress/versions/6.0.2/README.md b/apps/wordpress/versions/6.2.0/README.md similarity index 100% rename from apps/wordpress/versions/6.0.2/README.md rename to apps/wordpress/versions/6.2.0/README.md diff --git a/apps/wordpress/versions/6.2.0/conf/uploads.ini b/apps/wordpress/versions/6.2.0/conf/uploads.ini new file mode 100644 index 00000000..f7da4e71 --- /dev/null +++ b/apps/wordpress/versions/6.2.0/conf/uploads.ini @@ -0,0 +1,5 @@ +file_uploads = On +memory_limit = 256M +upload_max_filesize = 32M +post_max_size = 32M +max_execution_time = 360 diff --git a/apps/wordpress/versions/6.0.2/config.json b/apps/wordpress/versions/6.2.0/config.json similarity index 100% rename from apps/wordpress/versions/6.0.2/config.json rename to apps/wordpress/versions/6.2.0/config.json diff --git a/apps/wordpress/versions/6.0.2/docker-compose.yml b/apps/wordpress/versions/6.2.0/docker-compose.yml similarity index 85% rename from apps/wordpress/versions/6.0.2/docker-compose.yml rename to apps/wordpress/versions/6.2.0/docker-compose.yml index a0994af4..d6d4b656 100644 --- a/apps/wordpress/versions/6.0.2/docker-compose.yml +++ b/apps/wordpress/versions/6.2.0/docker-compose.yml @@ -1,7 +1,7 @@ version: '3' services: wordpress: - image: wordpress:6.0.2 + image: wordpress:6.2.0 container_name: ${CONTAINER_NAME} ports: - ${PANEL_APP_PORT_HTTP}:80 @@ -10,6 +10,7 @@ services: - 1panel-network volumes: - ./data:/var/www/html + - ./conf/uploads.ini:/usr/local/etc/php/conf.d/uploads.ini environment: WORDPRESS_DB_HOST: ${PANEL_DB_HOST} WORDPRESS_DB_NAME: ${PANEL_DB_NAME}