root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ ee6a65bd
History | View | Annotate | Download (12 kB)
1 |
# Set the expiration time of newly created auth tokens |
---|---|
2 |
# to be this many hours after their creation time. |
3 |
#ASTAKOS_AUTH_TOKEN_DURATION = 30 * 24 |
4 |
|
5 |
#ASTAKOS_DEFAULT_USER_LEVEL = 4 |
6 |
|
7 |
#ASTAKOS_INVITATIONS_PER_LEVEL = { |
8 |
# 0 : 100, |
9 |
# 1 : 2, |
10 |
# 2 : 0, |
11 |
# 3 : 0, |
12 |
# 4 : 0 |
13 |
#} |
14 |
|
15 |
# Address to use for outgoing emails |
16 |
#ASTAKOS_DEFAULT_CONTACT_EMAIL = 'support@example.synnefo.org' |
17 |
|
18 |
#SERVER_EMAIL = None |
19 |
#ADMINS = None |
20 |
|
21 |
# Identity Management enabled modules |
22 |
# Supported modules are: 'local', 'twitter' and 'shibboleth' |
23 |
#ASTAKOS_IM_MODULES = ['local'] |
24 |
|
25 |
# Force user profile verification |
26 |
#ASTAKOS_FORCE_PROFILE_UPDATE = True |
27 |
|
28 |
#Enable invitations |
29 |
#ASTAKOS_INVITATIONS_ENABLED = False |
30 |
|
31 |
#ASTAKOS_COOKIE_NAME = '_pithos2_a' |
32 |
#ASTAKOS_COOKIE_DOMAIN = None |
33 |
#ASTAKOS_COOKIE_SECURE = True |
34 |
|
35 |
#ASTAKOS_IM_STATIC_URL = '/static/im/' |
36 |
|
37 |
# If set to False and invitations not enabled newly created user will be |
38 |
# automatically accepted |
39 |
#ASTAKOS_MODERATION_ENABLED = True |
40 |
|
41 |
# Set baseurl |
42 |
#ASTAKOS_BASEURL = 'https://accounts.example.synnefo.org' |
43 |
|
44 |
# Set service name |
45 |
#ASTAKOS_SITENAME = 'Synnefo Cloud' |
46 |
|
47 |
# Set recaptcha keys |
48 |
# http://www.google.com/recaptcha/whyrecaptcha |
49 |
#ASTAKOS_RECAPTCHA_PUBLIC_KEY = '' |
50 |
#ASTAKOS_RECAPTCHA_PRIVATE_KEY = '' |
51 |
#ASTAKOS_RECAPTCHA_OPTIONS = {'theme': 'custom', 'custom_theme_widget': 'okeanos_recaptcha'} |
52 |
#ASTAKOS_RECAPTCHA_USE_SSL = True |
53 |
#ASTAKOS_RECAPTCHA_ENABLED = False |
54 |
|
55 |
# Set where the user should be redirected after logout |
56 |
#ASTAKOS_LOGOUT_NEXT = '' |
57 |
|
58 |
# Set user email patterns that are automatically activated |
59 |
#ASTAKOS_RE_USER_EMAIL_PATTERNS = [] |
60 |
|
61 |
# Messages to display on login page header |
62 |
# e.g. [('warning', 'This warning message will be displayed on the top of login page')] |
63 |
#ASTAKOS_LOGIN_MESSAGES = [] |
64 |
|
65 |
# Messages to display on signup page header |
66 |
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')] |
67 |
#ASTAKOS_SIGNUP_MESSAGES = [] |
68 |
|
69 |
# Messages to display on profile page header |
70 |
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')] |
71 |
#ASTAKOS_PROFILE_MESSAGES = [] |
72 |
|
73 |
# Messages to display on global page header |
74 |
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')] |
75 |
#ASTAKOS_GLOBAL_MESSAGES = [] |
76 |
|
77 |
# messages to display as extra actions in account forms |
78 |
# e.g. {'https://cms.example.synnefo.org/': 'Back to Synnefo'} |
79 |
#ASTAKOS_PROFILE_EXTRA_LINKS = [] |
80 |
|
81 |
# The number of unsuccessful login requests per minute allowed for a specific email |
82 |
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3 |
83 |
|
84 |
# If False the email change mechanism is disabled |
85 |
#ASTAKOS_EMAILCHANGE_ENABLED = False |
86 |
|
87 |
# Set the expiration time (in days) of email change requests |
88 |
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10 |
89 |
|
90 |
# Set the astakos main functions logging severity (None to disable) |
91 |
#from logging import INFO |
92 |
#ASTAKOS_LOGGING_LEVEL = INFO |
93 |
|
94 |
# Email subjects configuration. For admin/helper notification emails %(user)s |
95 |
# maps to registered/activated user email. |
96 |
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME |
97 |
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME |
98 |
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME |
99 |
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME |
100 |
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME) |
101 |
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s alpha2 testing group created (%%(group)s)' % SITENAME) |
102 |
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME |
103 |
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME |
104 |
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME |
105 |
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s alpha2 testing project application created (%%(name)s)' % SITENAME |
106 |
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s alpha2 testing project application approved (%%(name)s)' % SITENAME |
107 |
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s alpha2 testing project terminated (%%(name)s)' % SITENAME |
108 |
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s alpha2 testing project suspended (%%(name)s)' % SITENAME |
109 |
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s alpha2 testing project membership changed (%%(name)s)' % SITENAME |
110 |
|
111 |
# Set the quotaholder component URI and token |
112 |
#ASTAKOS_QUOTAHOLDER_URL = '' |
113 |
#ASTAKOS_QUOTAHOLDER_TOKEN = '' |
114 |
# |
115 |
# Tune the size of the quotaholder http client connection pool. |
116 |
# This limits the number of concurrent requests to quotaholder. |
117 |
# If quotaholder is installed in the same system as astakos, |
118 |
# This must be at most half the synnefo_poolsize for the django database |
119 |
#ASTAKOS_QUOTAHOLDER_POOLSIZE = 50 |
120 |
|
121 |
# Setup quotaholder URL and token when snf-quotaholder-app is installed |
122 |
# in the same server as astakos (recommended) |
123 |
#QUOTAHOLDER_URL = '' |
124 |
#QUOTAHOLDER_TOKEN = '' |
125 |
|
126 |
# Set the cloud service properties |
127 |
#ASTAKOS_SERVICES = { |
128 |
# 'cyclades': { |
129 |
## # Specifying the key 'url' will overwrite it. |
130 |
## # Use this to (re)set service URL. |
131 |
## 'url': 'https://cyclades.example.synnefo.org/ui/', |
132 |
## # order services in listings, cloudbar, etc. |
133 |
## 'order' : 1, |
134 |
# 'resources': [{ |
135 |
# 'name': 'disk', |
136 |
# 'group': 'compute', |
137 |
# 'uplimit': 30*1024*1024*1024, |
138 |
# 'unit': 'bytes', |
139 |
# 'desc': 'Virtual machine disk size' |
140 |
# }, { |
141 |
# 'name': 'cpu', |
142 |
# 'group': 'compute', |
143 |
# 'uplimit': 6, |
144 |
# 'desc': 'Number of virtual machine processors' |
145 |
# }, { |
146 |
# 'name': 'ram', |
147 |
# 'group': 'compute', |
148 |
# 'uplimit': 6*1024*1024*1024, |
149 |
# 'unit': 'bytes', |
150 |
# 'desc': 'Virtual machines' |
151 |
# }, { |
152 |
# 'name': 'vm', |
153 |
# 'group': 'compute', |
154 |
# 'uplimit': 2, |
155 |
# 'desc': 'Number of virtual machines' |
156 |
# }, { |
157 |
# 'name': 'network.private', |
158 |
# 'group': 'network', |
159 |
# 'uplimit': 1, |
160 |
# 'desc': 'Private networks' |
161 |
# } |
162 |
# ] |
163 |
# }, |
164 |
# 'pithos+': { |
165 |
## # Use this to (re)set service URL. |
166 |
## 'url': 'https://pithos.example.synnefo.org/ui/', |
167 |
## # order services in listings, cloudbar, etc. |
168 |
## 'order' : 2, |
169 |
# 'resources':[{ |
170 |
# 'name': 'diskspace', |
171 |
# 'group': 'storage', |
172 |
# 'uplimit': 5*1024*1024*1024, |
173 |
# 'unit': 'bytes', |
174 |
# 'desc': 'Pithos account diskspace' |
175 |
# }] |
176 |
# } |
177 |
#} |
178 |
|
179 |
# Set how many objects should be displayed per page |
180 |
#ASTAKOS_PAGINATE_BY = 10 |
181 |
# Set how many objects should be displayed per page in show all groups page |
182 |
#ASTAKOS_PAGINATE_BY_ALL = 15 |
183 |
|
184 |
# Enforce token renewal on password change/reset |
185 |
#ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN = True |
186 |
|
187 |
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000 |
188 |
|
189 |
#ASTAKOS_RESOURCES_PRESENTATION_DATA = { |
190 |
# 'groups': { |
191 |
# 'compute': { |
192 |
# 'help_text':'Compute resources (amount of VMs, CPUs, RAM, System disk) ', |
193 |
# 'is_abbreviation':False, |
194 |
# 'report_desc':'', |
195 |
# 'verbose_name':'compute', |
196 |
# }, |
197 |
# 'storage': { |
198 |
# 'help_text':'Storage resources (amount of space to store files on Pithos) ', |
199 |
# 'is_abbreviation':False, |
200 |
# 'report_desc':'', |
201 |
# 'verbose_name':'storage', |
202 |
# }, |
203 |
# 'network': { |
204 |
# 'help_text':' Network resources (number of Private Networks) ', |
205 |
# 'is_abbreviation':False, |
206 |
# 'report_desc':'', |
207 |
# 'verbose_name':'network', |
208 |
# }, |
209 |
# }, |
210 |
# 'resources': { |
211 |
# 'pithos+.diskspace': { |
212 |
# 'help_text':'This is the space on Pithos for storing files and VM Images. ', |
213 |
# 'help_text_input_each':'This is the total amount of space on Pithos that will be granted to each user of this Project ', |
214 |
# 'is_abbreviation':False, |
215 |
# 'report_desc':'Storage Space', |
216 |
# 'placeholder':'eg. 10GB', |
217 |
# 'verbose_name':'Storage Space', |
218 |
# }, |
219 |
# 'cyclades.disk': { |
220 |
# 'help_text':'This is the System Disk that the VMs have that run the OS ', |
221 |
# 'help_text_input_each':"This is the total amount of System Disk that will be granted to each user of this Project (this refers to the total System Disk of all VMs, not each VM's System Disk) ", |
222 |
# 'is_abbreviation':False, |
223 |
# 'report_desc':'System Disk', |
224 |
# 'placeholder':'eg. 5GB, 2GB etc', |
225 |
# 'verbose_name':'System Disk' |
226 |
# }, |
227 |
# 'cyclades.ram': { |
228 |
# 'help_text':'RAM used by VMs ', |
229 |
# 'help_text_input_each':'This is the total amount of RAM that will be granted to each user of this Project (on all VMs) ', |
230 |
# 'is_abbreviation':True, |
231 |
# 'report_desc':'RAM', |
232 |
# 'placeholder':'eg. 4GB', |
233 |
# 'verbose_name':'ram' |
234 |
# }, |
235 |
# 'cyclades.cpu': { |
236 |
# 'help_text':'CPUs used by VMs ', |
237 |
# 'help_text_input_each':'This is the total number of CPUs that will be granted to each user of this Project (on all VMs) ', |
238 |
# 'is_abbreviation':True, |
239 |
# 'report_desc':'CPUs', |
240 |
# 'placeholder':'eg. 1', |
241 |
# 'verbose_name':'cpu' |
242 |
# }, |
243 |
# 'cyclades.vm': { |
244 |
# 'help_text':'These are the VMs one can create on the Cyclades UI ', |
245 |
# 'help_text_input_each':'This is the total number of VMs that will be granted to each user of this Project ', |
246 |
# 'is_abbreviation':True, |
247 |
# 'report_desc':'Virtual Machines', |
248 |
# 'placeholder':'eg. 2', |
249 |
# 'verbose_name':'vm', |
250 |
# }, |
251 |
# 'cyclades.network.private': { |
252 |
# 'help_text':'These are the Private Networks one can create on the Cyclades UI. ', |
253 |
# 'help_text_input_each':'This is the total number of Private Networks that will be granted to each user of this Project ', |
254 |
# 'is_abbreviation':False, |
255 |
# 'report_desc':'Private Networks', |
256 |
# 'placeholder':'eg. 1', |
257 |
# 'verbose_name':'private network' |
258 |
# } |
259 |
# |
260 |
# }, |
261 |
# |
262 |
# 'groups_order': ['storage', 'compute', 'network'], |
263 |
# 'resources_order': ['pithos+.diskspace', 'cyclades.disk', |
264 |
# 'cyclades.cpu', 'cyclades.ram', 'cyclades.vm', |
265 |
# 'cyclades.network.private'] |
266 |
# |
267 |
# } |
268 |
|
269 |
# Permit local account migration |
270 |
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True |
271 |
|
272 |
# Strict shibboleth usage |
273 |
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False |
274 |
|
275 |
#ASTAKOS_PROJECT_MEMBER_JOIN_POLICIES = {'1':'automatically accepted', |
276 |
# '2':'owner accepts', |
277 |
# '3':'closed'} |
278 |
|
279 |
#ASTAKOS_PROJECT_MEMBER_LEAVE_POLICIES' = {'1':'automatically accepted', |
280 |
# '2':'owner accepts', |
281 |
# '3':'closed'} |
282 |
|
283 |
#ASTAKOS_ACTIVATION_REDIRECT_URL = "/im/landing" |
284 |
|
285 |
# If true, this enables a ui compatibility layer for the introduction |
286 |
# of UUIDs in identity management. |
287 |
# WARNING: Setting to True will break your installation. |
288 |
# ASTAKOS_TRANSLATE_UUIDS = False |
289 |
|
290 |
# UUIDs of users that can approve or deny project applications from the web. |
291 |
# ASTAKOS_PROJECT_ADMINS = set() # e.g. set(['01234567-89ab-cdef-0123-456789abcdef']) |
292 |
|
293 |
# Maximum pending project applications per applicant. |
294 |
# This is to reduce the volume of applications |
295 |
# in case users abuse the mechanism. |
296 |
#ASTAKOS_PENDING_APPLICATION_LIMIT = 0 |
297 |
|
298 |
# OAuth2 Twitter credentials. |
299 |
#ASTAKOS_TWITTER_KEY = '' |
300 |
#ASTAKOS_TWITTER_SECRET = '' |
301 |
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False |
302 |
|
303 |
# OAuth2 Google credentials |
304 |
#ASTAKOS_GOOGLE_CLIENT_ID = '' |
305 |
#ASTAKOS_GOOGLE_SECRET = '' |
306 |
|
307 |
# OAuth2 LinkedIn credentials. |
308 |
#ASTAKOS_LINKEDIN_TOKEN = '' |
309 |
#ASTAKOS_LINKEDIN_SECRET = '' |
310 |
|
311 |
# URL to redirect the user after successful login when no next parameter is set |
312 |
# ASTAKOS_LOGIN_SUCCESS_URL = '/im/landing' |
313 |
|
314 |
# Whether or not to display projects in astakos menu |
315 |
# ASTAKOS_PROJECTS_VISIBLE = False |