mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Changed defaults to work for our Ceph deploy
This commit is contained in:
parent
a66f5824f6
commit
6839f47c35
2 changed files with 15 additions and 15 deletions
|
|
@ -36,8 +36,8 @@ The Librarian service uses S3-compatible object storage for document blob storag
|
||||||
The implementation works with any S3-compatible object storage system:
|
The implementation works with any S3-compatible object storage system:
|
||||||
|
|
||||||
### Tested/Supported
|
### Tested/Supported
|
||||||
- **MinIO** - Lightweight self-hosted object storage (default configuration)
|
- **Ceph RADOS Gateway (RGW)** - Distributed storage system with S3 API (default configuration)
|
||||||
- **Ceph RADOS Gateway (RGW)** - Distributed storage system with S3 API
|
- **MinIO** - Lightweight self-hosted object storage
|
||||||
|
|
||||||
### Should Work (S3-Compatible)
|
### Should Work (S3-Compatible)
|
||||||
- **AWS S3** - Amazon's cloud object storage
|
- **AWS S3** - Amazon's cloud object storage
|
||||||
|
|
@ -68,20 +68,20 @@ OBJECT_STORE_SECRET_KEY=<secret_key>
|
||||||
|
|
||||||
### Examples
|
### Examples
|
||||||
|
|
||||||
**MinIO (default):**
|
**Ceph RADOS Gateway (default):**
|
||||||
|
```bash
|
||||||
|
--object-store-endpoint http://ceph-rgw:7480 \
|
||||||
|
--object-store-access-key object-user \
|
||||||
|
--object-store-secret-key object-password
|
||||||
|
```
|
||||||
|
|
||||||
|
**MinIO:**
|
||||||
```bash
|
```bash
|
||||||
--object-store-endpoint minio:9000 \
|
--object-store-endpoint minio:9000 \
|
||||||
--object-store-access-key minioadmin \
|
--object-store-access-key minioadmin \
|
||||||
--object-store-secret-key minioadmin
|
--object-store-secret-key minioadmin
|
||||||
```
|
```
|
||||||
|
|
||||||
**Ceph RADOS Gateway:**
|
|
||||||
```bash
|
|
||||||
--object-store-endpoint ceph-rgw.example.com:8080 \
|
|
||||||
--object-store-access-key user123 \
|
|
||||||
--object-store-secret-key abcd1234secret
|
|
||||||
```
|
|
||||||
|
|
||||||
**AWS S3:**
|
**AWS S3:**
|
||||||
```bash
|
```bash
|
||||||
--object-store-endpoint s3.amazonaws.com \
|
--object-store-endpoint s3.amazonaws.com \
|
||||||
|
|
|
||||||
|
|
@ -41,9 +41,9 @@ default_collection_response_queue = collection_response_queue
|
||||||
default_config_request_queue = config_request_queue
|
default_config_request_queue = config_request_queue
|
||||||
default_config_response_queue = config_response_queue
|
default_config_response_queue = config_response_queue
|
||||||
|
|
||||||
default_object_store_endpoint = "minio:9000"
|
default_object_store_endpoint = "http://ceph-rgw:7480"
|
||||||
default_object_store_access_key = "minioadmin"
|
default_object_store_access_key = "object-user"
|
||||||
default_object_store_secret_key = "minioadmin"
|
default_object_store_secret_key = "object-password"
|
||||||
default_cassandra_host = "cassandra"
|
default_cassandra_host = "cassandra"
|
||||||
|
|
||||||
bucket_name = "library"
|
bucket_name = "library"
|
||||||
|
|
@ -501,14 +501,14 @@ class Processor(AsyncProcessor):
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--object-store-access-key',
|
'--object-store-access-key',
|
||||||
default='minioadmin',
|
default=default_object_store_access_key,
|
||||||
help='Object storage access key / username '
|
help='Object storage access key / username '
|
||||||
f'(default: {default_object_store_access_key})',
|
f'(default: {default_object_store_access_key})',
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'--object-store-secret-key',
|
'--object-store-secret-key',
|
||||||
default='minioadmin',
|
default=default_object_store_secret_key,
|
||||||
help='Object storage secret key / password '
|
help='Object storage secret key / password '
|
||||||
f'(default: {default_object_store_secret_key})',
|
f'(default: {default_object_store_secret_key})',
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue