Skip to content

Commit a33ebd4

Browse files
authored
Merge pull request #641 from haiwen/thunmnail-server
Add explanation of how to configure thunmnail-server at a cluster
2 parents 368cc3a + 2e2d78c commit a33ebd4

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

manual/extension/thumbnail-server.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Then modify the `.env` file according to your environment. The following fields
5555
| `SEAFILE_MYSQL_DB_PASSWORD`| Seafile MySQL password |
5656
| `TIME_ZONE` | Time zone |
5757
| `JWT_PRIVATE_KEY` | JWT key, the same as the config in Seafile `.env` file |
58-
| `INNER_SEAHUB_SERVICE_URL`| Intranet URL for accessing Seahub component, like `http://<your Seafile server intranet IP>`. |
58+
| `INNER_SEAHUB_SERVICE_URL`| Intranet URL for accessing Seahub component, like `http://<your Seahub component intranet IP>`. |
5959
| `SEAF_SERVER_STORAGE_TYPE` | What kind of the Seafile data for storage. Available options are `disk` (i.e., local disk), `s3` and `multiple` (see the details of [multiple storage backends](../setup/setup_with_multiple_storage_backends.md)) |
6060
| `S3_COMMIT_BUCKET` | S3 storage backend commit objects bucket |
6161
| `S3_FS_BUCKET` | S3 storage backend fs objects bucket |
@@ -70,7 +70,17 @@ Then modify the `.env` file according to your environment. The following fields
7070
| `S3_SSE_C_KEY` | A string of 32 characters can be generated by openssl rand -base64 24. It can be any 32-character long random string. It's required to use V4 authentication protocol and https if you enable SSE-C. |
7171
| `NON_ROOT` | Run container without a root user | `false` |
7272

73-
Then you can run thumbnail server with the following command:
73+
74+
!!! tip "About INNER_SEAHUB_SERVICE_URL"
75+
The thumbnail server must call the Seahub component to verify permissions.
76+
77+
The INNER_SEAHUB_SERVICE_URL should point to the Seahub URL located at one of the front-end nodes, such as http://192.168.0.10 .
78+
79+
Alternatively, you can use an external URL for the thumbnail server to access Seahub, like https://seafile.example.com . In this scenario, it is essential to ensure that the CA is trusted on the thumbnail server node.
80+
81+
82+
83+
You can run thumbnail server with the following command:
7484

7585
```sh
7686
docker compose up -d

0 commit comments

Comments
 (0)