update plugin

This commit is contained in:
2024-11-02 16:04:25 +07:00
parent 4733c1e774
commit e8638004a1
57 changed files with 681 additions and 839 deletions
+105
View File
@@ -0,0 +1,105 @@
additionalProperties:
formFields:
- type: select
multiple: true
labelZh: 默认扩展
labelEn: Extensions
allowCreate: true
default:
- mysqli
values:
- label: opcache
value: opcache
- label: memcached
value: memcached
- label: memcache
value: memcache
- label: redis
value: redis
- label: mcrypt
value: mcrypt
- label: xdebug
value: xdebug
- label: imap
value: imap
- label: exif
value: exif
- label: intl
value: intl
- label: swoole
value: swoole
- label: yaf
value: yaf
- label: pgsql
value: pgsql
- label: pdo_pgsql
value: pdo_pgsql
- label: snmp
value: snmp
- label: ldap
value: ldap
- label: pspell
value: pspell
- label: bz2
value: bz2
- label: sysvshm
value: sysvshm
- label: calendar
value: calendar
- label: gmp
value: gmp
- label: sysvmsg
value: sysvmsg
- label: igbinary
value: igbinary
- label: mysqli
value: mysqli
- label: pdo_mysql
value: pdo_mysql
- label: mbstring
value: mbstring
- label: gd
value: gd
- label: ionCube
value: ionCube
- label: curl
value: curl
- label: sg11
value: sg11
- label: imagick
value: imagick
envKey: PHP_EXTENSIONS
- default: 7.4.33
envKey: PHP_VERSION
labelEn: PHP Version
labelZh: PHP 版本
required: true
type: select
values:
- label: "7.4.33"
value: "7.4.33"
- label: "7.3.33"
value: "7.3.33"
- label: "7.2.34"
value: "7.2.34"
- label: "7.1.33"
value: "7.1.33"
- label: "7.0.33"
value: "7.0.33"
- default: https://mirrors.tuna.tsinghua.edu.cn
envKey: CONTAINER_PACKAGE_URL
labelEn: Package Source
labelZh: 扩展源
required: true
type: select
values:
- label: "https://mirrors.tuna.tsinghua.edu.cn"
value: "https://mirrors.tuna.tsinghua.edu.cn"
- default: 9000
envKey: PANEL_APP_PORT_HTTP
labelEn: PHP-FPM Port
labelZh: PHP-FPM 端口
required: true
rule: paramPort
type: number
+35
View File
@@ -0,0 +1,35 @@
services:
php:
build:
context: ./build
args:
PHP_IMAGE: 1panel/php:${PHP_VERSION}-fpm
CONTAINER_PACKAGE_URL: ${CONTAINER_PACKAGE_URL}
PHP_EXTENSIONS: ${PHP_EXTENSIONS}
TZ: ${TZ}
image: ${IMAGE_NAME}
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
volumes:
- ${PANEL_WEBSITE_DIR}:/www/
- ./conf:/usr/local/etc/php
- ./conf/conf.d:/usr/local/etc/php/conf.d
- ./conf/php-fpm.conf:/usr/local/etc/php-fpm.d/www.conf
- ./log:/var/log/php
- ./extensions:${EXTENSION_DIR}
- ./supervisor/supervisord.conf:/etc/supervisord.conf
- ./supervisor/supervisor.d/php-fpm.ini:/etc/supervisor.d/php-fpm.ini
- ./supervisor/supervisor.d:/etc/supervisor.d
- ./supervisor/log:/var/log/supervisor
- ./composer:/tmp/composer
ports:
- 127.0.0.1:${PANEL_APP_PORT_HTTP}:9000
labels:
createdBy: "Apps"
cap_add:
- SYS_PTRACE
networks:
1panel-network:
external: true
Binary file not shown.