Statistics
| Branch: | Tag: | Revision:

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

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

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

    
94
OAUTH2_USER_MODEL = 'auth.User'
95

    
96
OAUTH2_ENDPOINT_PREFIX = 'oauth2/'
97

    
98
OAUTH2_TOKEN_ENDPOINT = 'token/'
99

    
100
OAUTH2_AUTHORIZATION_ENDPOINT = 'auth/'
101

    
102
OAUTH2_AUTHORIZATION_CODE_LENGTH = 60
103

    
104
OAUTH2_TOKEN_LENGTH = 30
105

    
106
OAUTH2_TOKEN_EXPIRES = 20