feat: 应用商店升级到 v2 版本 (#91)

This commit is contained in:
zhengkunwang223
2023-05-18 18:25:00 +08:00
committed by GitHub
parent f29958aac0
commit a1b44954ba
525 changed files with 1807 additions and 3756 deletions
+20
View File
@@ -0,0 +1,20 @@
version: "3"
services:
1panel-php:
build:
context: ./php
args:
PHP_IMAGE: php:${PHP_VERSION}-fpm-alpine
CONTAINER_PACKAGE_URL: ${CONTAINER_PACKAGE_URL}
PHP_EXTENSIONS: ${PHP_EXTENSIONS}
TZ: ${TZ}
image: ${IMAGE_NAME}
volumes:
- ${SOURCE_DIR}:/www/
- ${PHP_PHP_CONF_FILE}:/usr/local/etc/php/php.ini
- ${PHP_FPM_CONF_FILE}:/usr/local/etc/php-fpm.d/www.conf
- ${PHP_LOG_DIR}:/var/log/php
- ${DATA_DIR}/composer:/tmp/composer
restart: always
cap_add:
- SYS_PTRACE