Statistics
| Branch: | Tag: | Revision:

root / snf-deploy / files / etc / synnefo / astakos.conf @ 0699d24d

History | View | Annotate | Download (3.1 kB)

1
CLOUDBAR_LOCATION = 'https://%ACCOUNTS%/static/im/cloudbar/'
2
CLOUDBAR_SERVICES_URL = 'https://%ACCOUNTS%/astakos/ui/get_services'
3
CLOUDBAR_MENU_URL = 'https://%ACCOUNTS%/astakos/ui/get_menu'
4

    
5
ASTAKOS_DEFAULT_FROM_EMAIL = 'okeanos feedback@%DOMAIN%>'
6
ASTAKOS_DEFAULT_CONTACT_EMAIL = 'feedback@%DOMAIN%'
7
ASTAKOS_DEFAULT_ADMIN_EMAIL = 'feedback@%DOMAIN%'
8

    
9
ASTAKOS_IM_MODULES = ['local']
10

    
11
ASTAKOS_BASE_URL = 'https://%ACCOUNTS%/astakos'
12

    
13
ASTAKOS_SITENAME = '~okeanos'
14
ASTAKOS_RECAPTCHA_PUBLIC_KEY = '6LeFidMSAAAAAM7Px7a96YQzsBcKYeXCI_sFz0Gk'
15
ASTAKOS_RECAPTCHA_PRIVATE_KEY = '6LeFidMSAAAAAFv5U5NSayJJJhr0roludAidPd2M'
16

    
17
ASTAKOS_RECAPTCHA_USE_SSL = True
18
ASTAKOS_RECAPTCHA_ENABLED = True
19

    
20
ASTAKOS_LOGIN_MESSAGES = []
21
ASTAKOS_SIGNUP_MESSAGES = []
22
ASTAKOS_PROFILE_MESSAGES = []
23
ASTAKOS_GLOBAL_MESSAGES = []
24

    
25
ASTAKOS_PROFILE_EXTRA_LINKS = []
26
ASTAKOS_INVITATION_EMAIL_SUBJECT = 'Invitation to %s' % ASTAKOS_SITENAME
27
ASTAKOS_GREETING_EMAIL_SUBJECT = 'Welcome to %s' % ASTAKOS_SITENAME
28
ASTAKOS_FEEDBACK_EMAIL_SUBJECT = 'Feedback from %s' % ASTAKOS_SITENAME
29
ASTAKOS_VERIFICATION_EMAIL_SUBJECT = '%s account activation is needed' % ASTAKOS_SITENAME
30
ASTAKOS_ADMIN_NOTIFICATION_EMAIL_SUBJECT = '%s account created (%%(user)s)' % ASTAKOS_SITENAME
31
ASTAKOS_HELPDESK_NOTIFICATION_EMAIL_SUBJECT = '%s account activated (%%(user)s)' % ASTAKOS_SITENAME
32
ASTAKOS_EMAIL_CHANGE_EMAIL_SUBJECT = 'Email change on %s' % ASTAKOS_SITENAME
33
ASTAKOS_PASSWORD_RESET_EMAIL_SUBJECT = 'Password reset on %s' % ASTAKOS_SITENAME
34

    
35
ASTAKOS_COOKIE_DOMAIN = '%DOMAIN%'
36

    
37
EMAIL_BACKEND = 'django.core.mail.backends.filebased.EmailBackend'
38
EMAIL_FILE_PATH = '/var/log/gunicorn/synnefo-mails'
39

    
40
ASTAKOS_SERVICES = {
41
    'cyclades': {
42
        'url': 'https://%CYCLADES%/ui/',
43
        'resources': [{
44
            'name':'disk',
45
            'group':'compute',
46
            'uplimit':30*1024*1024*1024,
47
            'unit':'bytes',
48
            'desc': 'Virtual machine disk size'
49
            },{
50
            'name':'cpu',
51
            'group':'compute',
52
            'uplimit':6,
53
            'desc': 'Number of virtual machine processors'
54
            },{
55
            'name':'ram',
56
            'group':'compute',
57
            'uplimit':6*1024*1024*1024,
58
            'unit':'bytes',
59
            'desc': 'Virtual machines'
60
            },{
61
            'name':'vm',
62
            'group':'compute',
63
            'uplimit':2,
64
            'desc': 'Number of virtual machines'
65
            },{
66
            'name':'network.private',
67
            'group':'network',
68
            'uplimit':1,
69
            'desc': 'Private networks'
70
            }
71
        ]
72
    },
73
    'pithos+': {
74
        'url': 'https://%PITHOS%/pithos/ui/',
75
        'resources':[{
76
            'name':'diskspace',
77
            'group':'storage',
78
            'uplimit':5 * 1024 * 1024 * 1024,
79
            'unit':'bytes',
80
            'desc': 'Pithos account diskspace'
81
            }]
82
    }
83
}
84

    
85
ASTAKOS_COMPONENTS_META = {
86
    'home': {
87
        'order': 0,
88
        'cloudbar': {
89
                'icon': 'https://%ACCOUNTS%/static/branding/images/cloudbar_home.png'
90
        },
91
        'dashboard': {
92
                'show': False
93
        }
94
    }
95
}
96