Add userConfig/php/custom.ini to fix apc

This commit is contained in:
2026-05-02 23:17:30 +08:00
parent 373c6e10f9
commit f5b014d6cc
2 changed files with 7 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ services:
- 8080:80
volumes:
- ./data/nextcloud:/var/www/html
- ./userConfig/php/custom.ini:/usr/local/etc/php/conf.d/custom.ini
- /nas/share:/nas/share:ro # 這裡掛載 NAS 共享資料夾,建議設為唯讀
restart: always
depends_on:
+6
View File
@@ -0,0 +1,6 @@
apc.enabled=1
apc.shm_size=256M
apc.interned_strings_buffer=16
apc.max_file_size=10M
apc.ttl=7200