@@ -218,6 +218,11 @@ services:
### PHP-FPM ##############################################
php-fpm:
+ # 其他配置...
+ cap_add:
+ - SYS_PTRACE
+ security_opt:
+ - seccomp:unconfined # 如果需要更宽松的安全选项
restart: always
build:
context: ./php-fpm