software.cfg 1.75 KB
Newer Older
1 2
[buildout]
extends =
3
  buildout.hash.cfg
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
  ../../component/redis/buildout.cfg
  ../../stack/lamp/buildout.cfg

[nc-download-base]
recipe = hexagonit.recipe.download
ignore-existing = true
download-only = true
url = ${:_profile_base_location_}/${:filename}
mode = 0644


[application]
url = https://download.nextcloud.com/server/releases/nextcloud-16.0.3.tar.bz2
md5sum = d81902d2dec5d547779bec6336a438be

19
[template-nextcloud-install.sh] 
20 21 22 23 24
<= nc-download-base

[template-apache-httpd]
<= nc-download-base

25 26 27
[template-nextcloud-config.json]
<= nc-download-base

28 29
[template-nextcloud-instance]
recipe = slapos.recipe.template:jinja2
30
template = ${:_profile_base_location_}/${:filename}
31 32 33 34
rendered = ${buildout:directory}/instance-nextcloud.cfg
extensions = jinja2.ext.do
context = 
          key gzip_location          gzip:location
35
          key python3_location       python3:location
36 37 38 39 40 41
          key news_updater_location  news-updater:location
          key php_location           apache-php:location
          raw redis_bin              ${redis:location}/bin/redis-server
          raw redis_cli              ${redis:location}/bin/redis-cli
          raw nextcloud_install_sh   ${template-nextcloud-install.sh:location}/${template-nextcloud-install.sh:filename}
          raw nextcloud_apache_httpd ${template-apache-httpd:location}/${template-apache-httpd:filename}
42
          raw nextcloud_parameter_json ${template-nextcloud-config.json:location}/${template-nextcloud-config.json:filename}
43 44 45 46 47 48 49 50 51

[custom-application-deployment]
path = ${template-nextcloud-instance:rendered}
part-list = nextcloud-install.sh

[news-updater]
recipe = hexagonit.recipe.download
url = https://github.com/nextcloud/news-updater/archive/10.0.1.tar.gz
md5sum = 37387199c0482e08d01e9294cd95eaad
52
strip-top-level-dir = true