Add userConfig/php/custom.ini to fix apc
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
apc.enabled=1
|
||||
apc.shm_size=256M
|
||||
apc.interned_strings_buffer=16
|
||||
apc.max_file_size=10M
|
||||
apc.ttl=7200
|
||||
|
||||
Reference in New Issue
Block a user