bcbadf27b4e3b2e5d306ab04266e61786dae7640
[pithos] / snf-pithos-backend / pithos / backends / settings.py
1 # SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
2 from os.path import join
3
4 BACKEND_PATH = '/usr/share/synnefo/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'