forked from coop-cloud/nextcloud
parent
39d4f0e9b7
commit
5d1851e5b7
1
abra.sh
1
abra.sh
|
@ -1,3 +1,4 @@
|
|||
export FPM_TUNE_VERSION="v1"
|
||||
export NGINX_CONF_VERSION="v2"
|
||||
|
||||
NC_APP_DIR="app:/var/www/html"
|
||||
|
|
|
@ -37,6 +37,9 @@ services:
|
|||
image: nextcloud:22.1.0-fpm
|
||||
depends_on:
|
||||
- db
|
||||
configs:
|
||||
- source: fpm_tune
|
||||
target: /usr/local/etc/php/conf.d/fpm-tune.ini
|
||||
secrets:
|
||||
- db_password
|
||||
- admin_password
|
||||
|
@ -137,6 +140,9 @@ configs:
|
|||
name: ${STACK_NAME}_nginx_${NGINX_CONF_VERSION}
|
||||
file: nginx.conf.tmpl
|
||||
template_driver: golang
|
||||
fpm_tune:
|
||||
name: ${STACK_NAME}_fpm_tune_${FPM_TUNE_VERSION}
|
||||
file: fpm-tune.ini
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
pm = dynamic
|
||||
pm.max_children = 120
|
||||
pm.start_servers = 12
|
||||
pm.min_spare_servers = 6
|
||||
pm.max_spare_servers = 18
|
Loading…
Reference in New Issue