Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / docs / _static / sample_settings.conf @ 4911365b

History | View | Annotate | Download (1 kB)

1 ceded986 Kostas Papadimitriou
# database configuration
2 ceded986 Kostas Papadimitriou
DATABASES = {
3 ceded986 Kostas Papadimitriou
    'default': {
4 ceded986 Kostas Papadimitriou
        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
5 ceded986 Kostas Papadimitriou
        'NAME': '',                      # Or path to database file if using sqlite3.
6 ceded986 Kostas Papadimitriou
        'USER': '',                      # Not used with sqlite3.
7 ceded986 Kostas Papadimitriou
        'PASSWORD': '',                  # Not used with sqlite3.
8 ceded986 Kostas Papadimitriou
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
9 ceded986 Kostas Papadimitriou
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
10 ceded986 Kostas Papadimitriou
    }
11 ceded986 Kostas Papadimitriou
}
12 ceded986 Kostas Papadimitriou
13 ceded986 Kostas Papadimitriou
# where synnefo static files exist
14 ceded986 Kostas Papadimitriou
MEDIA_ROOT = '/var/lib/synnefo/static/'
15 ceded986 Kostas Papadimitriou
16 ceded986 Kostas Papadimitriou
# rabitmq configuration
17 ceded986 Kostas Papadimitriou
RABBIT_HOST = ""
18 ceded986 Kostas Papadimitriou
RABBIT_USERNAME = ""
19 ceded986 Kostas Papadimitriou
RABBIT_PASSWORD = ""
20 ceded986 Kostas Papadimitriou
RABBIT_VHOST = "/"
21 ceded986 Kostas Papadimitriou
22 ceded986 Kostas Papadimitriou
GANETI_MASTER_IP = ""
23 ceded986 Kostas Papadimitriou
GANETI_CLUSTER_INFO = (GANETI_MASTER_IP, 5080, "<username>", "<password>")
24 ceded986 Kostas Papadimitriou
25 ceded986 Kostas Papadimitriou
# This prefix gets used when determining the instance names
26 ceded986 Kostas Papadimitriou
# of Synnefo VMs at the Ganeti backend.
27 ceded986 Kostas Papadimitriou
# The dash must always appear in the name!
28 ceded986 Kostas Papadimitriou
BACKEND_PREFIX_ID = "<prefix>-"