# default settings srv-nextcloud module
#
[srv-nextcloud]
  version	32.0.3
  zipfile	nextcloud-::srv-nextcloud.version::.zip
  repourl	::install.mirror_downloaded::
  instdir	/usr/share/nextcloud

  ###config_dir	/etc/glpi
  ###log_dir	/var/log/glpi
  ###var_dir	::path.datadir::/glpi

  # apache2 directory
  allow		All

  # db parameters
  #
  db_host	localhost
  db_port	3306
  db_name	nextcloud
  db_user	nextcloud
  #db_pass			# MUST BE USER DEFINED


[php]
  #disable_functions	
  #opcache.enable
  #open_basedir

  # for upload files >512Mb see:
  # https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html
  #
  file_uploads		On
  memory_limit		512M
  upload_max_size	512M
  max_execution_time	600
  max_input_time	600
  output_buffering	0	# overrides srv-web default
