Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / docs / _static / sample_settings.conf @ 5ba2cfd2

History | View | Annotate | Download (1 kB)

1
# database configuration
2
DATABASES = {
3
    'default': {
4
        'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
5
        'NAME': '',                      # Or path to database file if using sqlite3.
6
        'USER': '',                      # Not used with sqlite3.
7
        'PASSWORD': '',                  # Not used with sqlite3.
8
        'HOST': '',                      # Set to empty string for localhost. Not used with sqlite3.
9
        'PORT': '',                      # Set to empty string for default. Not used with sqlite3.
10
    }
11
}
12

    
13
# where synnefo static files exist
14
MEDIA_ROOT = '/var/lib/synnefo/static/'
15

    
16
# rabitmq configuration
17
RABBIT_HOST = ""
18
RABBIT_USERNAME = ""
19
RABBIT_PASSWORD = ""
20
RABBIT_VHOST = "/"
21

    
22
GANETI_MASTER_IP = ""
23
GANETI_CLUSTER_INFO = (GANETI_MASTER_IP, 5080, "<username>", "<password>")
24

    
25
# This prefix gets used when determining the instance names
26
# of Synnefo VMs at the Ganeti backend.
27
# The dash must always appear in the name!
28
BACKEND_PREFIX_ID = "<prefix>-"