software.cfg 2.71 KB
Newer Older
1 2
[buildout]
extends =
3
  buildout.hash.cfg
4 5 6
  ../../component/redis/buildout.cfg
  ../../stack/lamp/buildout.cfg

7 8
[nc-download]
recipe = slapos.recipe.build:download
9 10 11 12 13 14
url = ${:_profile_base_location_}/${:filename}

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

15
[template-nextcloud-install.sh]
16
<= nc-download
17

18
[template-nextcloud-config.json]
19
<= nc-download
20

21 22
[template-nextcloud-instance]
recipe = slapos.recipe.template:jinja2
23 24
url = ${:_profile_base_location_}/${:filename}
output = ${buildout:directory}/instance-nextcloud.cfg
25
extensions = jinja2.ext.do
26
context =
27
          key gzip_location          gzip:location
28
          key python3_location       python3:location
29 30 31 32
          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
33 34
          key nextcloud_install_sh   template-nextcloud-install.sh:target
          key nextcloud_parameter_json template-nextcloud-config.json:target
35
          section nextcloud_apps     nextcloud-apps
36 37

[custom-application-deployment]
38
path = ${template-nextcloud-instance:output}
39
part-list = nextcloud-install.sh
40 41 42
db-name = nextcloud
db-user = nextcloud
db-password = insecure
43

44 45 46 47
[nc-download-unpacked]
recipe = slapos.recipe.build:download-unpacked
shared = true

48
[news-updater]
49
<= nc-download-unpacked
50 51
url = https://github.com/nextcloud/news-updater/archive/10.0.1.tar.gz
md5sum = 37387199c0482e08d01e9294cd95eaad
52 53

[nextcloud-app-spreed]
54
<= nc-download-unpacked
55 56 57 58
url = https://github.com/nextcloud/spreed/releases/download/v6.0.5/spreed-6.0.5.tar.gz
md5sum = 002c09e543edc141f6ca848782573376

[nextcloud-app-richdocuments]
59
<= nc-download-unpacked
60 61 62 63
url = https://github.com/nextcloud/richdocuments/releases/download/v3.7.17/richdocuments.tar.gz
md5sum = 5559cd14a4a0a93d2a39b260538839f8

[nextcloud-app-calendar]
64
<= nc-download-unpacked
65 66 67 68
url = https://github.com/nextcloud/calendar/releases/download/v1.7.3/calendar.tar.gz
md5sum = ab398d943eb6939e3e71df5b1a1abf87

[nextcloud-app-rainloop]
69
<= nc-download-unpacked
70 71 72 73
url = https://github.com/pierre-alain-b/rainloop-nextcloud/releases/download/6.1.4/rainloop.tar.gz
md5sum = 7cefc3dd3bd52b42d381de7d7447691f

[nextcloud-app-news]
74
<= nc-download-unpacked
75
url = https://github.com/nextcloud/news/releases/download/14.2.2/news.tar.gz
76
md5sum = f48d4b5dcbc078131bb86a4ae619da99
77 78 79 80 81 82 83

[nextcloud-apps]
spreed = ${nextcloud-app-spreed:location}
richdocuments = ${nextcloud-app-richdocuments:location}
calendar = ${nextcloud-app-calendar:location}
rainloop = ${nextcloud-app-rainloop:location}
news = ${nextcloud-app-news:location}