add docker for local and production
This commit is contained in:
36
docker/php.ini
Normal file
36
docker/php.ini
Normal file
@@ -0,0 +1,36 @@
|
||||
; PHP Configuration for CKB Laravel App
|
||||
|
||||
; Maximum execution time
|
||||
max_execution_time = 300
|
||||
|
||||
; Maximum input time
|
||||
max_input_time = 300
|
||||
|
||||
; Memory limit
|
||||
memory_limit = 512M
|
||||
|
||||
; Upload settings
|
||||
upload_max_filesize = 100M
|
||||
post_max_size = 100M
|
||||
max_file_uploads = 20
|
||||
|
||||
; Error reporting
|
||||
display_errors = Off
|
||||
log_errors = On
|
||||
error_log = /var/log/php_errors.log
|
||||
|
||||
; Date settings
|
||||
date.timezone = Asia/Jakarta
|
||||
|
||||
; Session settings
|
||||
session.gc_maxlifetime = 1440
|
||||
session.cookie_lifetime = 0
|
||||
|
||||
; OPcache settings
|
||||
opcache.enable = 1
|
||||
opcache.memory_consumption = 128
|
||||
opcache.interned_strings_buffer = 8
|
||||
opcache.max_accelerated_files = 4000
|
||||
opcache.revalidate_freq = 2
|
||||
opcache.fast_shutdown = 1
|
||||
opcache.enable_cli = 1
|
||||
Reference in New Issue
Block a user