buildout.cfg 3.61 KB
Newer Older
1 2 3 4 5 6 7 8 9
[buildout]

extends =
  buildout.hash.cfg
  ../../component/apache/buildout.cfg
  ../../component/nginx/buildout.cfg
  ../../component/curl/buildout.cfg
  ../../component/dash/buildout.cfg
  ../../component/openssl/buildout.cfg
10
  ../../component/bcrypt/buildout.cfg
11 12 13 14
  ../../stack/logrotate/buildout.cfg


parts =
15
  instance-caucase
16

17
[caucase-extra-eggs]
18 19 20 21 22 23
recipe = zc.recipe.egg
interpreter = python_ca
eggs =
  gunicorn # for WSGI HTTP Server
  futures
  caucase # certificate authority
24
  ${bcrypt:egg}
25 26 27
# are also required
  plone.recipe.command
  collective.recipe.template
28 29 30 31 32 33 34
  slapos.toolbox
scripts =
  slapos-kill
  gunicorn
  caucase
  caucase-cli
  caucase-cliweb
35 36 37 38 39

[template-ca-download-base]
recipe = hexagonit.recipe.download
ignore-existing = true
download-only = true
40
url = ${:_profile_base_location_}/${:filename}
41 42 43 44 45 46 47 48
mode = 0644

[template-httpd-auth-conf]
<= template-ca-download-base

[template-nginx-ca-conf]
<= template-ca-download-base

49 50 51 52
[template-caucase]
<= template-ca-download-base
url = ${:_profile_base_location_}/${:filename}

53 54
[template-authenticated-server]
recipe = slapos.recipe.template:jinja2
55
template = ${:_profile_base_location_}/${:filename}
56 57 58 59
rendered = ${buildout:directory}/template-authenticated-server.cfg
context =
  key apache_location apache:location
  key template_logrotate_base template-logrotate-base:rendered
60
  raw certificate_request_bin ${buildout:directory}/bin/caucase-cliweb
61 62 63 64 65
  raw curl_executable_location ${curl:location}/bin/curl
  raw dash_executable_location ${dash:location}/bin/dash
  raw slapos_kill_bin ${buildout:directory}/bin/slapos-kill
  raw template_httpd_auth_conf ${template-httpd-auth-conf:location}/${template-httpd-auth-conf:filename}
  raw openssl_executable_location ${openssl:location}/bin/openssl
66
  raw python_bin ${buildout:directory}/bin/${caucase-extra-eggs:interpreter}
67

68
[instance-caucase]
69
recipe = slapos.recipe.template:jinja2
70
template = ${:_profile_base_location_}/${:filename}
71
rendered = ${buildout:directory}/template.cfg
72
context =
73 74 75
  key develop_eggs_directory buildout:develop-eggs-directory
  key eggs_directory buildout:eggs-directory
  key nginx_location nginx:location
76
  key template_logrotate_base template-logrotate-base:rendered
77
  raw caucase_template ${template-caucase:location}/${template-caucase:filename}
78
  raw curl_executable_location ${curl:location}/bin/curl
79 80
  raw caucase_bin ${buildout:directory}/bin/caucase
  raw certificate_request_bin ${buildout:directory}/bin/caucase-cliweb
81 82 83 84 85
  raw template_nginx_ca_conf ${template-nginx-ca-conf:location}/${template-nginx-ca-conf:filename}
  raw dash_executable_location ${dash:location}/bin/dash
  raw slapos_kill_bin ${buildout:directory}/bin/slapos-kill
  raw gunicorn_bin ${buildout:directory}/bin/gunicorn
  raw openssl_executable_location ${openssl:location}/bin/openssl
86
  raw python_bin ${buildout:directory}/bin/${caucase-extra-eggs:interpreter}
87

88

89 90 91
[versions]
Flask-User = 0.6.11
SQLAlchemy = 1.1.9
92
caucase = 0.1.3
93 94
futures = 3.1.1
gunicorn = 19.7.1
95
slapos.recipe.template = 3.0
96

97 98
APacheDEX = 1.6.2
bcrypt = 3.1.3
99 100

# Required by:
101 102
# caucase==0.1.3
Flask-AlchemyDumps = 0.0.10
103 104 105 106 107 108 109 110 111 112

# Required by:
# Flask-User==0.6.11
Flask-Login = 0.4.0

# Required by:
# Flask-User==0.6.11
Flask-Mail = 0.9.1

# Required by:
113
# Flask-AlchemyDumps==0.0.10
114 115 116
# Flask-User==0.6.11
Flask-SQLAlchemy = 2.2

117 118 119 120
# Required by:
# Flask-AlchemyDumps==0.0.10
Flask-Script = 2.0.5

121 122 123 124 125
# Required by:
# Flask-User==0.6.11
Flask-WTF = 0.14.2

# Required by:
126 127
# Flask-AlchemyDumps==0.0.10
Unipath = 1.1
128 129

# Required by:
130 131
# Flask-WTF==0.14.2
WTForms = 2.1
132 133 134 135 136 137

# Required by:
# Flask-Mail==0.9.1
blinker = 1.4

# Required by:
138
# caucase==0.1.3
139 140 141 142
pem = 16.1.0

# Required by:
# Flask-User==0.6.11
143
pycryptodome = 3.4.6