Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / conf / 20-snf-astakos-app-settings.conf @ 5a3921a1

History | View | Annotate | Download (11.3 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@cloud.grnet.gr'
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 = 'http://pithos.dev.grnet.gr'
43

    
44
# Set service name
45
#ASTAKOS_SITENAME = 'GRNET 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 AstakosUser fields to propagate in the billing system
56
#ASTAKOS_BILLING_FIELDS = ['is_active']
57

    
58
# Queue for billing.
59
#'rabbitmq://guest:guest@localhost:5672/astakos'
60
#ASTAKOS_QUEUE_CONNECTION = None 
61

    
62
# Set where the user should be redirected after logout
63
#ASTAKOS_LOGOUT_NEXT = ''
64

    
65
# Set user email patterns that are automatically activated
66
#ASTAKOS_RE_USER_EMAIL_PATTERNS = []
67

    
68
# Messages to display on login page header
69
# e.g. [('warning', 'This warning message will be displayed on the top of login page')]
70
#ASTAKOS_LOGIN_MESSAGES = []
71

    
72
# Messages to display on signup page header
73
# e.g. [('warning', 'This warning message will be displayed on the top of signup page')]
74
#ASTAKOS_SIGNUP_MESSAGES = []
75

    
76
# Messages to display on profile page header
77
# e.g. [('warning', 'This warning message will be displayed on the top of profile pages')]
78
#ASTAKOS_PROFILE_MESSAGES = []
79

    
80
# Messages to display on global page header
81
# e.g. [('warning', 'This warning message will be displayed on the top of all pages')]
82
#ASTAKOS_GLOBAL_MESSAGES = []
83

    
84
# messages to display as extra actions in account forms
85
# e.g. {'https://cms.okeanos.grnet.gr/': 'Back to ~okeanos'}
86
#ASTAKOS_PROFILE_EXTRA_LINKS = []
87

    
88
# The number of unsuccessful login requests per minute allowed for a specific email
89
#ASTAKOS_RATELIMIT_RETRIES_ALLOWED = 3
90

    
91
# If False the email change mechanism is disabled
92
#ASTAKOS_EMAILCHANGE_ENABLED = False
93

    
94
# Set the expiration time (in days) of email change requests
95
#ASTAKOS_EMAILCHANGE_ACTIVATION_DAYS = 10
96

    
97
# Set the astakos main functions logging severity (None to disable)
98
#from logging import INFO
99
#ASTAKOS_LOGGING_LEVEL = INFO
100

    
101
# Email subjects configuration. For admin/helper notification emails %(user)s
102
# maps to registered/activated user email.
103
#ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s alpha2 testing' % SITENAME
104
#ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s alpha2 testing' % SITENAME
105
#ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s alpha2 testing' % SITENAME
106
#ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activation is needed' % SITENAME
107
#ASTAKOS_ACCOUNT_CREATION_SUBJECT = '%s alpha2 testing account created (%%(user)s)' % SITENAME)
108
#ASTAKOS_GROUP_CREATION_SUBJECT = '%s alpha2 testing group created (%%(group)s)' % SITENAME)
109
#ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s alpha2 testing account activated (%%(user)s)' % SITENAME
110
#ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s alpha2 testing' % SITENAME
111
#ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s alpha2 testing' % SITENAME
112
#ASTAKOS_PROJECT_CREATION_SUBJECT = '%s alpha2 testing project application created (%%(name)s)' % SITENAME
113
#ASTAKOS_PROJECT_APPROVED_SUBJECT = '%s alpha2 testing project application approved (%%(name)s)' % SITENAME
114
#ASTAKOS_PROJECT_TERMINATION_SUBJECT = '%s alpha2 testing project terminated (%%(name)s)' % SITENAME
115
#ASTAKOS_PROJECT_SUSPENSION_SUBJECT = '%s alpha2 testing project suspended (%%(name)s)' % SITENAME
116
#ASTAKOS_PROJECT_MEMBERSHIP_CHANGE_SUBJECT = '%s alpha2 testing project membership changed (%%(name)s)' % SITENAME
117

    
118
# Set the quotaholder component URI and token
119
#ASTAKOS_QUOTAHOLDER_URL = ''
120
#ASTAKOS_QUOTAHOLDER_TOKEN = ''
121

    
122
# Set the cloud service properties
123
# ASTAKOS_SERVICES = {
124
#    'cyclades': {
125
##        'url': 'https://node1.example.com/ui/',
126
#        'resources': [{
127
#            'name':'disk',
128
#            'group':'compute',
129
#            'uplimit':30*1024*1024*1024,
130
#            'unit':'bytes',
131
#            'desc': 'Virtual machine disk size'
132
#            },{
133
#            'name':'cpu',
134
#            'group':'compute',
135
#            'uplimit':6,
136
#            'desc': 'Number of virtual machine processors'
137
#            },{
138
#            'name':'ram',
139
#            'group':'compute',
140
#            'uplimit':6*1024*1024*1024,
141
#            'unit':'bytes',
142
#            'desc': 'Virtual machines'
143
#            },{
144
#            'name':'vm',
145
#            'group':'compute',
146
#            'uplimit':2,
147
#            'desc': 'Number of virtual machines'
148
#            },{
149
#            'name':'network.private',
150
#            'group':'network',
151
#            'uplimit':1,
152
#            'desc': 'Private networks'
153
#            }
154
#        ]
155
#    },
156
#    'pithos+': {
157
##        'url': 'https://node2.example.com/ui/',
158
#        'resources':[{
159
#            'name':'diskspace',
160
#            'group':'storage',
161
#            'uplimit':5 * 1024 * 1024 * 1024,
162
#            'unit':'bytes',
163
#            'desc': 'Pithos account diskspace'
164
#            }]
165
#    }
166
#}
167

    
168
# Set the billing URI
169
#ASTAKOS_AQUARIUM_URL = ''
170

    
171
# Set how many objects should be displayed per page
172
#ASTAKOS_PAGINATE_BY = 10
173
# Set how many objects should be displayed per page in show all groups page
174
#ASTAKOS_PAGINATE_BY_ALL = 15
175

    
176
# Enforce token renewal on password change/reset
177
#ASTAKOS_NEWPASSWD_INVALIDATE_TOKEN = True
178

    
179
#ASTAKOS_USAGE_UPDATE_INTERVAL = 5000
180

    
181
#ASTAKOS_RESOURCES_PRESENTATION_DATA = {
182
#        'groups': {
183
#             'compute': {
184
#                'help_text':'Compute resources (amount of VMs, CPUs, RAM, System disk) ',
185
#                'is_abbreviation':False,
186
#                'report_desc':'',
187
#                 'verbose_name':'compute',
188
#            },
189
#            'storage': {
190
#                'help_text':'Storage resources (amount of space to store files on Pithos) ',
191
#                'is_abbreviation':False,
192
#                'report_desc':'',
193
#                 'verbose_name':'storage',
194
#            },
195
#            'network': {
196
#                'help_text':' Network resources (amount of Private Networks)  ',
197
#                'is_abbreviation':False,
198
#                'report_desc':'',
199
#                'verbose_name':'network',
200
#            },
201
#        },
202
#        'resources': {
203
#            'pithos+.diskspace': {
204
#                'help_text':'This is the space on Pithos for storing files and VM Images. ',
205
#                'help_text_input_each':'This is the total amount of space on Pithos that will be granted to each user of this Project ',
206
#                'is_abbreviation':False,
207
#                'report_desc':'Storage Space',
208
#                'placeholder':'eg. 10GB',
209
#                'verbose_name':'Storage Space',
210
#            },
211
#            'cyclades.disk': {
212
#                'help_text':'This is the System Disk that the VMs have that run the OS ',
213
#                '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)  ",
214
#                'is_abbreviation':False,
215
#                'report_desc':'System Disk',
216
#                'placeholder':'eg. 5GB, 2GB etc',
217
#                'verbose_name':'System Disk'
218
#            },
219
#            'cyclades.ram': {
220
#                'help_text':'RAM used by VMs ',
221
#                'help_text_input_each':'This is the total amount of RAM that will be granted to each user of this Project (on all VMs)  ',
222
#                'is_abbreviation':True,
223
#                'report_desc':'RAM',
224
#                'placeholder':'eg. 4GB',
225
#                'verbose_name':'ram'
226
#            },
227
#            'cyclades.cpu': {
228
#                'help_text':'CPUs used by VMs ',
229
#                'help_text_input_each':'This is the total number of CPUs that will be granted to each user of this Project (on all VMs)  ',
230
#                'is_abbreviation':True,
231
#                'report_desc':'CPUs',
232
#                'placeholder':'eg. 1',
233
#                'verbose_name':'cpu'
234
#            },
235
#            'cyclades.vm': {
236
#                'help_text':'These are the VMs one can create on the Cyclades UI ',
237
#                'help_text_input_each':'This is the total number of VMs that will be granted to each user of this Project ',
238
#                'is_abbreviation':True,
239
#                'report_desc':'Virtual Machines',
240
#                'placeholder':'eg. 2',
241
#                'verbose_name':'vm',
242
#            },
243
#            'cyclades.network.private': {
244
#                'help_text':'These are the Private Networks one can create on the Cyclades UI. ',
245
#                'help_text_input_each':'This is the total number of Private Networks that will be granted to each user of this Project ',
246
#                'is_abbreviation':False,
247
#                'report_desc':'Private Networks',
248
#                'placeholder':'eg. 1',
249
#                'verbose_name':'private network'
250
#            }
251
#
252
#        },
253
#
254
#        'groups_order': ['storage', 'compute', 'network'],
255
#        'resources_order': ['pithos+.diskspace', 'cyclades.disk',
256
#                            'cyclades.cpu', 'cyclades.ram', 'cyclades.vm',
257
#                            'cyclades.network.private']
258
#
259
#    }
260

    
261
# Permit local account migration
262
#ASTAKOS_ENABLE_LOCAL_ACCOUNT_MIGRATION = True
263

    
264
# Strict shibboleth usage
265
#ASTAKOS_SHIBBOLETH_REQUIRE_NAME_INFO = False
266

    
267
#ASTAKOS_PROJECT_MEMBER_JOIN_POLICIES = {'1':'automatically accepted',
268
#                                 '2':'owner accepts',
269
#                                 '3':'closed'}
270

    
271
#ASTAKOS_PROJECT_MEMBER_LEAVE_POLICIES' = {'1':'automatically accepted',
272
#                                 '2':'owner accepts',
273
#                                 '3':'closed'}
274

    
275
#ASTAKOS_ACTIVATION_REDIRECT_URL = "/im/landing"
276

    
277
# If true, this enables a ui compatibility layer for the introduction of UUIDs
278
# in identity management. WARNING: Setting to True will break your installation.
279
#ASTAKOS_TRANSLATE_UUIDS = False
280

    
281
# UUIDs of users that can approve or deny project applications from the web.
282
# ASTAKOS_PROJECT_ADMINS = set() # e.g. set(['01234567-89ab-cdef-0123-456789abcdef'])
283
#
284
# If true, this enables a ui compatibility layer for the introduction
285
# of UUIDs in identity management.
286
# WARNING: Setting to True will break your installation.
287
# ASTAKOS_TRANSLATE_UUIDS = False
288

    
289
# OAuth2 Twitter credentials.
290
#ASTAKOS_TWITTER_KEY = ''
291
#ASTAKOS_TWITTER_SECRET = ''
292
#ASTAKOS_TWITTER_AUTH_FORCE_LOGIN = False
293

    
294
# OAuth2 Google credentials
295
#ASTAKOS_GOOGLE_CLIENT_ID = ''
296
#ASTAKOS_GOOGLE_SECRET = ''
297

    
298
# OAuth2 LinkedIn credentials.
299
#ASTAKOS_LINKEDIN_TOKEN = ''
300
#ASTAKOS_LINKEDIN_SECRET = ''