2
0
Fork 0
mirror of https://github.com/friendica/docker synced 2024-05-25 14:56:58 +02:00
docker/2019.09-dev/fpm-alpine/config/00apcu.config.php
Philipp Holzer 841a0b438b
Add dynamic config compatibility
- Use APCu cache as default caching mechanism
- Add explicit redis environment variables for redis lock-support
- Add a lot of environment variables, which aren't part of admin-page
- Add possibility to disable URL & E-Mail validation (for demo-page)
- Dynamically copy /config/ content without overwriting existing one

Add opcache support for performance reason
Add multi-core support for php extensions install

Bump redis version to 5.0.1 (last stable)

Exclude /log/ directory during sync (to avoid deleting logs)
2019-07-19 17:37:44 +02:00

13 lines
197 B
PHP

<?php
/**
* If nothing else set, use APCu as a caching driver (best performance for local caching)
*/
return [
'system' => [
'cache_driver' => 'apcu',
'session_handler' => 'cache',
],
];