root / snf-pithos-app / conf / 20-snf-pithos-app-settings.conf @ 876d7486
History | View | Annotate | Download (2.6 kB)
1 | e3ff6830 | Georgios D. Tsoukalas | # Top-level URL for Pithos. Must set. |
---|---|---|---|
2 | e3ff6830 | Georgios D. Tsoukalas | #PITHOS_BASE_URL = "https://pithos.example.synnefo.org/" |
3 | e3ff6830 | Georgios D. Tsoukalas | |
4 | e3ff6830 | Georgios D. Tsoukalas | # Top-level URL for the Astakos instance to be used for user management |
5 | 6ce03057 | Giorgos Korfiatis | #ASTAKOS_AUTH_URL = 'https://accounts.example.synnefo.org/identity/v2.0' |
6 | c700f742 | Sofia Papagiannaki | |
7 | ad788af8 | Kostas Papadimitriou | # SQLAlchemy (choose SQLite/MySQL/PostgreSQL). |
8 | ad788af8 | Kostas Papadimitriou | #PITHOS_BACKEND_DB_MODULE = 'pithos.backends.lib.sqlalchemy' |
9 | a38446a0 | Sofia Papagiannaki | #PITHOS_BACKEND_DB_CONNECTION = 'sqlite:////tmp/pithos-backend.db' |
10 | ad788af8 | Kostas Papadimitriou | |
11 | ad788af8 | Kostas Papadimitriou | # Block storage. |
12 | ad788af8 | Kostas Papadimitriou | #PITHOS_BACKEND_BLOCK_MODULE = 'pithos.backends.lib.hashfiler' |
13 | 61ae9b74 | Sofia Papagiannaki | #PITHOS_BACKEND_BLOCK_UMASK = 0o022 |
14 | ad788af8 | Kostas Papadimitriou | |
15 | ad788af8 | Kostas Papadimitriou | # Default setting for new accounts. |
16 | ad788af8 | Kostas Papadimitriou | #PITHOS_BACKEND_VERSIONING = 'auto' |
17 | b1dadd0e | Sofia Papagiannaki | #PITHOS_BACKEND_FREE_VERSIONING = True |
18 | ad788af8 | Kostas Papadimitriou | |
19 | 591e1df0 | Sofia Papagiannaki | # Enable if object checksums are required |
20 | 591e1df0 | Sofia Papagiannaki | # False results to improved performance |
21 | 591e1df0 | Sofia Papagiannaki | # but breaks the compatibility with the OpenStack Object Storage API |
22 | 591e1df0 | Sofia Papagiannaki | #PITHOS_UPDATE_MD5 = False |
23 | 02d94254 | Sofia Papagiannaki | |
24 | 02d94254 | Sofia Papagiannaki | # Service Token acquired by identity provider. |
25 | 02d94254 | Sofia Papagiannaki | #PITHOS_SERVICE_TOKEN = '' |
26 | 469d0997 | Georgios D. Tsoukalas | |
27 | 469d0997 | Georgios D. Tsoukalas | # This enables a ui compatibility layer for the introduction of UUIDs in |
28 | 469d0997 | Georgios D. Tsoukalas | # identity management. WARNING: Setting to True will break your installation. |
29 | 469d0997 | Georgios D. Tsoukalas | # PITHOS_TRANSLATE_UUIDS = False |
30 | a38446a0 | Sofia Papagiannaki | |
31 | f759041f | Ilias Tsitsimpis | ## Proxy Astakos services under the following path |
32 | f759041f | Ilias Tsitsimpis | #PITHOS_PROXY_PREFIX = '_astakos' |
33 | 61ae9b74 | Sofia Papagiannaki | |
34 | 16f2673e | Sofia Papagiannaki | # Tune the size of the http pool for the astakos client. |
35 | b336e6fa | Georgios D. Tsoukalas | # It limits the maximum number of quota changing requests |
36 | 56f3c759 | Sofia Papagiannaki | # that pithos can serve. Extra requests will be blocked |
37 | b336e6fa | Georgios D. Tsoukalas | # until another has completed. |
38 | 16f2673e | Sofia Papagiannaki | #PITHOS_ASTAKOSCLIENT_POOLSIZE = 200 |
39 | 56f3c759 | Sofia Papagiannaki | # |
40 | 4a105ce2 | Sofia Papagiannaki | # How many random bytes to use for constructing the URL of Pithos public files. |
41 | 4a105ce2 | Sofia Papagiannaki | # Lower values mean accidental reuse of (discarded) URLs is more probable. |
42 | 4a105ce2 | Sofia Papagiannaki | # Note: the active public URLs will always be unique. |
43 | 678382d2 | Georgios D. Tsoukalas | # Only the old and discarded URLs can ever be reused. |
44 | 4a105ce2 | Sofia Papagiannaki | # Higher values mean more safety and longer URLs |
45 | 4a105ce2 | Sofia Papagiannaki | #PITHOS_PUBLIC_URL_SECURITY = 16 |
46 | 61c5b615 | Sofia Papagiannaki | # |
47 | a41826c8 | Sofia Papagiannaki | # Tune the size of the pithos backend pool. |
48 | a41826c8 | Sofia Papagiannaki | # It limits the maximum number of requests that pithos can serve. |
49 | a41826c8 | Sofia Papagiannaki | # Extra requests will be blocked until another has completed. |
50 | 61c5b615 | Sofia Papagiannaki | #PITHOS_BACKEND_POOL_SIZE = 5 |
51 | 8f2eb016 | Sofia Papagiannaki | # |
52 | 6f65ba13 | Sofia Papagiannaki | # Set the credentials (client identifier, client secret) issued for |
53 | 6f65ba13 | Sofia Papagiannaki | # authenticating the views with astakos during the resource access token |
54 | 6f65ba13 | Sofia Papagiannaki | # generation procedure |
55 | fe7d0186 | Sofia Papagiannaki | #PITHOS_OAUTH2_CLIENT_CREDENTIALS = (None, None) |
56 | 14569c60 | Sofia Papagiannaki | # |
57 | 9b953ed4 | Sofia Papagiannaki | # Set domain to restrict requests of pithos object contents serve endpoint or |
58 | 9b953ed4 | Sofia Papagiannaki | # None for no domain restriction |
59 | 4bf0ab85 | Sofia Papagiannaki | #PITHOS_UNSAFE_DOMAIN = None |
60 | a1557c9c | Chrysostomos Nanakos | # |
61 | a1557c9c | Chrysostomos Nanakos | #Archipelago Configuration File |
62 | a1557c9c | Chrysostomos Nanakos | #PITHOS_BACKEND_ARCHIPELAGO_CONF = '/etc/archipelago/archipelago.conf' |
63 | 876d7486 | Sofia Papagiannaki | # |
64 | 876d7486 | Sofia Papagiannaki | # Archipelagp xseg pool size |
65 | 876d7486 | Sofia Papagiannaki | #PITHOS_BACKEND_XSEG_POOL_SIZE = 8 |
66 | 876d7486 | Sofia Papagiannaki | # |
67 | 876d7486 | Sofia Papagiannaki | # The maximum interval (in seconds) for consequent backend object map checks |
68 | 876d7486 | Sofia Papagiannaki | #PITHOS_BACKEND_MAP_CHECK_INTERVAL = 300 |