Compare commits
2 commits
4ee48f323e
...
6f57be6b22
Author | SHA1 | Date | |
---|---|---|---|
6f57be6b22 | |||
69ad000be7 |
5 changed files with 25 additions and 1 deletions
|
@ -24,7 +24,8 @@ steps:
|
|||
from_secret: DOCKERHUB_USERNAME
|
||||
password:
|
||||
from_secret: DOCKERHUB_PASSWORD
|
||||
cache_from: "glenux/service-nextcloud:${DRONE_BRANCH/\\//-}_latest"
|
||||
cache_from:
|
||||
- "glenux/service-nextcloud:${DRONE_BRANCH/\\//-}_latest"
|
||||
repo: glenux/service-nextcloud
|
||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||
purge: false
|
||||
|
|
|
@ -88,6 +88,10 @@ RUN echo '[opcache]' > /usr/local/etc/php/conf.d/opcache.ini \
|
|||
&& echo '[PHP]' > /usr/local/etc/php/conf.d/memory-limit.ini \
|
||||
&& echo 'memory_limit=1024M' >> /usr/local/etc/php/conf.d/memory-limit.ini
|
||||
|
||||
COPY php-uploads.ini /usr/local/etc/php/conf.d/glenux-uploads.ini
|
||||
COPY php-performance.ini /usr/local/etc/php/conf.d/glenux-performance.ini
|
||||
COPY php-errors.ini /usr/local/etc/php/conf.d/glenux-errors.ini
|
||||
|
||||
##
|
||||
## CRON SETUP
|
||||
##
|
||||
|
|
11
php-errors.ini
Normal file
11
php-errors.ini
Normal file
|
@ -0,0 +1,11 @@
|
|||
error_reporting = E_ALL & ~E_WARNING & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
|
||||
log_errors = On
|
||||
|
||||
## For production
|
||||
# display_errors = Off
|
||||
# error_log = /dev/stderr
|
||||
|
||||
## For debugging
|
||||
display_errors = On
|
||||
error_log = /var/log/php-errors.log
|
||||
|
3
php-performance.ini
Normal file
3
php-performance.ini
Normal file
|
@ -0,0 +1,3 @@
|
|||
; Maximum amount of memory a script may consume (64MB)
|
||||
memory_limit = 256M
|
||||
max_input_vars = 3000
|
5
php-uploads.ini
Normal file
5
php-uploads.ini
Normal file
|
@ -0,0 +1,5 @@
|
|||
file_uploads = On
|
||||
upload_max_filesize = 128M
|
||||
post_max_size = 128M
|
||||
max_execution_time = 1200
|
||||
max_input_time = 120
|
Loading…
Reference in a new issue