Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends / settings.py @ 8125fdf8

History | View | Annotate | Download (459 Bytes)

1
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
2
from os.path import join
3

    
4
BACKEND_PATH = '/srv/pithos'
5
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy'
6

    
7
BACKEND_DB_CONNECTION = 'sqlite:////' + BACKEND_PATH + '/pithos-backend.db'
8

    
9
# Block storage.
10
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler'
11
BACKEND_BLOCK_PATH = join(BACKEND_PATH, 'data/')
12

    
13
# Default setting for new accounts.
14
BACKEND_QUOTA = 50 * 1024 * 1024 * 1024
15
BACKEND_VERSIONING = 'auto'