Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (587 Bytes)

1 390c7730 Giorgos Verigakis
# The backend modules to use and their initilization options.
2 390c7730 Giorgos Verigakis
3 390c7730 Giorgos Verigakis
# SQLite.
4 390c7730 Giorgos Verigakis
#BACKEND_DB_MODULE = 'pithos.backends.lib.sqlite'
5 390c7730 Giorgos Verigakis
#BACKEND_DB_CONNECTION = join(PROJECT_PATH, 'backend.db')
6 390c7730 Giorgos Verigakis
7 390c7730 Giorgos Verigakis
# SQLAlchemy (choose SQLite/MySQL/PostgreSQL).
8 390c7730 Giorgos Verigakis
BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy'
9 390c7730 Giorgos Verigakis
BACKEND_DB_CONNECTION = 'sqlite:///' + join(PROJECT_PATH, 'backend.db')
10 390c7730 Giorgos Verigakis
#BACKEND_DB_CONNECTION = 'mysql://user:pass@host/db'
11 390c7730 Giorgos Verigakis
#BACKEND_DB_CONNECTION = 'postgresql://user:pass@host/db'
12 390c7730 Giorgos Verigakis
13 390c7730 Giorgos Verigakis
# Block storage.
14 390c7730 Giorgos Verigakis
BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler'
15 390c7730 Giorgos Verigakis
BACKEND_BLOCK_PATH = join(PROJECT_PATH, 'data/')