forked from farmOS/farmOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create multi-stage dockerfile and run the service as www-data user
Helping with Issue farmOS#582
- Loading branch information
Showing
5 changed files
with
53 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Set recommended PHP settings for farmOS. | ||
# See https://farmos.org/hosting/installing/#requirements | ||
memory_limit=256M | ||
max_execution_time=240 | ||
max_input_time=240 | ||
max_input_vars=5000 | ||
post_max_size=100M | ||
upload_max_filesize=100M | ||
expose_php=Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Set recommended OPcache for maximum performance in Symfony applications. | ||
# See https://symfony.com/doc/current/performance.html#configure-opcache-for-maximum-performance | ||
# @todo | ||
# Remove this when https://github.com/docker-library/drupal/pull/156 is merged. | ||
opcache.memory_consumption=256 | ||
opcache.max_accelerated_files=20000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Set recommended realpath_cache settings. | ||
# See https://www.drupal.org/docs/7/managing-site-performance/tuning-phpini-for-drupal | ||
|
||
realpath_cache_size=4096K | ||
realpath_cache_ttl=3600 |