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
+1
View File
@@ -0,0 +1 @@
additionalProperties:
+21
View File
@@ -0,0 +1,21 @@
services:
golang:
image: golang:${GO_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
- ./mod:/go/pkg/mod
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${GO_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
+20
View File
@@ -0,0 +1,20 @@
services:
java:
image: bitnami/java:${JAVA_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${JAVA_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
+20
View File
@@ -0,0 +1,20 @@
services:
java:
image: bitnami/java:${JAVA_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${JAVA_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
+20
View File
@@ -0,0 +1,20 @@
services:
java:
image: bitnami/java:${JAVA_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${JAVA_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
View File
View File
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,20 @@
services:
node:
image: node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,18 @@
services:
node:
image: node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: always
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,20 @@
services:
node:
image: 1panel/node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,18 @@
services:
node:
image: node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: always
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,18 @@
services:
node:
image: node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: always
networks:
1panel-network:
external: true
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,20 @@
services:
node:
image: 1panel/node:${NODE_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${NODE_APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
@@ -1,14 +0,0 @@
additionalProperties:
formFields:
- default: 80
envKey: PANEL_APP_PORT_HTTP
labelEn: HTTP Port
labelZh: HTTP 端口
required: true
type: number
- default: 443
envKey: PANEL_APP_PORT_HTTPS
labelEn: HTTPS Port
labelZh: HTTPS 端口
required: true
type: number
@@ -1,18 +0,0 @@
services:
openresty:
image: 1panel/openresty:1.21.4.3-2-1-focal
container_name: ${CONTAINER_NAME}
restart: always
network_mode: host
volumes:
- ./conf/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf
- ./conf/fastcgi_params:/usr/local/openresty/nginx/conf/fastcgi_params
- ./conf/fastcgi-php.conf:/usr/local/openresty/nginx/conf/fastcgi-php.conf
- ./log:/var/log/nginx
- ./conf/conf.d:/usr/local/openresty/nginx/conf/conf.d/
- ./www:/www
- ./root:/usr/share/nginx/html
- /etc/localtime:/etc/localtime
- ./1pwaf/data:/usr/local/openresty/1pwaf/data
labels:
createdBy: "Apps"
+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.
+103
View File
@@ -0,0 +1,103 @@
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: 8.3.8
envKey: PHP_VERSION
labelEn: PHP Version
labelZh: PHP 版本
required: true
type: select
values:
- label: "8.3.8"
value: "8.3.8"
- label: "8.2.20"
value: "8.2.20"
- label: "8.1.29"
value: "8.1.29"
- label: "8.0.30"
value: "8.0.30"
- 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.
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,20 @@
services:
node:
image: python:${PYTHON_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.
View File
+1
View File
@@ -0,0 +1 @@
additionalProperties:
@@ -0,0 +1,20 @@
services:
node:
image: python:${PYTHON_VERSION}
container_name: ${CONTAINER_NAME}
working_dir: /app
volumes:
- ${CODE_DIR}:/app
- ./run.sh:/run.sh
- ./.env:/.env
command: bash /run.sh
networks:
- 1panel-network
ports:
- ${HOST_IP}:${PANEL_APP_PORT_HTTP}:${APP_PORT}
restart: on-failure:5
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true
Binary file not shown.