feat(docker): add Docker configuration and production environment setup
This commit is contained in:
8
docker/php/opcache.ini
Normal file
8
docker/php/opcache.ini
Normal file
@@ -0,0 +1,8 @@
|
||||
opcache.enable = 1
|
||||
opcache.enable_cli = 0
|
||||
opcache.memory_consumption = 192
|
||||
opcache.interned_strings_buffer = 16
|
||||
opcache.max_accelerated_files = 20000
|
||||
opcache.validate_timestamps = 0
|
||||
opcache.save_comments = 1
|
||||
opcache.fast_shutdown = 1
|
||||
12
docker/php/php.ini
Normal file
12
docker/php/php.ini
Normal file
@@ -0,0 +1,12 @@
|
||||
expose_php = Off
|
||||
memory_limit = 256M
|
||||
max_execution_time = 60
|
||||
max_input_time = 60
|
||||
upload_max_filesize = 20M
|
||||
post_max_size = 20M
|
||||
variables_order = EGPCS
|
||||
realpath_cache_size = 4096K
|
||||
realpath_cache_ttl = 600
|
||||
log_errors = On
|
||||
error_log = /proc/self/fd/2
|
||||
date.timezone = UTC
|
||||
Reference in New Issue
Block a user