Statistics
| Branch: | Tag: | Revision:

root / pithos / settings.d / 10-backend.conf @ fe243425

History | View | Annotate | Download (587 Bytes)

1
# The backend modules to use and their initilization options.
2

    
3
# SQLite.
4
#BACKEND_DB_MODULE = 'pithos.backends.lib.sqlite'
5
#BACKEND_DB_CONNECTION = join(PROJECT_PATH, 'backend.db')
6

    
7
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
8
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy'
9
BACKEND_DB_CONNECTION = 'sqlite:///' + join(PROJECT_PATH, 'backend.db')
10
#BACKEND_DB_CONNECTION = 'mysql://user:pass@host/db'
11
#BACKEND_DB_CONNECTION = 'postgresql://user:pass@host/db'
12

    
13
# Block storage.
14
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler'
15
BACKEND_BLOCK_PATH = join(PROJECT_PATH, 'data/')