mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-26 02:32:50 +00:00
Merge pull request #561 from haiwen/merge_12.0_to_13.0
Merge 12.0 to 13.0
This commit is contained in:
commit
b8047a3b61
|
|
@ -50,6 +50,7 @@ ONLYOFFICE_JWT_SECRET = '<your jwt secret>'
|
|||
# If you have custom needs, you can also configure them, which will override the default values.
|
||||
ONLYOFFICE_FILE_EXTENSION = ('doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'odt', 'fodt', 'odp', 'fodp', 'ods', 'fods', 'ppsx', 'pps', 'csv')
|
||||
ONLYOFFICE_EDIT_FILE_EXTENSION = ('docx', 'pptx', 'xlsx', 'csv')
|
||||
OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024 # preview size, 30 MB
|
||||
```
|
||||
|
||||
!!! tip
|
||||
|
|
@ -139,6 +140,7 @@ In general, you only need to specify the values of the following fields in
|
|||
ENABLE_ONLYOFFICE = True
|
||||
ONLYOFFICE_APIJS_URL = 'http{s}://<Your OnlyOffice host url>/web-apps/apps/api/documents/api.js'
|
||||
ONLYOFFICE_JWT_SECRET = '<your jwt secret>'
|
||||
OFFICE_PREVIEW_MAX_SIZE = 30 * 1024 * 1024 # preview size, 30 MB
|
||||
```
|
||||
|
||||
### About SSL
|
||||
|
|
|
|||
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 161 KiB |
|
|
@ -52,16 +52,6 @@ spec:
|
|||
configMapKeyRef:
|
||||
name: seafile-env
|
||||
key: SITE_ROOT
|
||||
- name: ENABLE_SEADOC
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: seafile-env
|
||||
key: ENABLE_SEADOC
|
||||
- name: SEADOC_SERVER_URL
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
name: seafile-env
|
||||
key: SEADOC_SERVER_URL
|
||||
- name: SEAFILE_MYSQL_DB_HOST
|
||||
valueFrom:
|
||||
configMapKeyRef:
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
The Seafile cluster solution employs a 3-tier architecture:
|
||||
|
||||
* Load balancer tier: Distribute incoming traffic to Seafile servers. HA can be achieved by deploying multiple load balancer instances.
|
||||
* Load balancer tier: Distribute incoming traffic to Seafile servers. HA (high availability) can be achieved by deploying multiple load balancer instances.
|
||||
* Seafile server cluster: a cluster of Seafile server instances. If one instance fails, the load balancer will stop handing traffic to it. So HA is achieved.
|
||||
* Backend storage: Distributed storage cluster, e.g. S3, Openstack Swift or Ceph.
|
||||
|
||||
|
|
@ -48,9 +48,6 @@ Please refer [here](./system_requirements.md#seafile-cluster) for the details ab
|
|||
|
||||
2. Pulling Seafile image
|
||||
|
||||
!!! tip
|
||||
Since v12.0, Seafile PE versions are hosted on DockerHub and does not require username and password to download.
|
||||
|
||||
```bash
|
||||
docker pull seafileltd/seafile-pro-mc:13.0-latest
|
||||
```
|
||||
|
|
@ -78,7 +75,7 @@ Please refer [here](./system_requirements.md#seafile-cluster) for the details ab
|
|||
|
||||
!!! success "Cluster init mode"
|
||||
|
||||
Because CLUSTER_INIT_MODE is true in the `.env` file, Seafile docker will be started in init mode and generate configuration files. As the results, you can see the following lines if you trace the Seafile container (i.e., `docker logs seafile`):
|
||||
Because `CLUSTER_INIT_MODE` is true in the `.env` file, Seafile docker will be started in init mode and generate configuration files. As the results, you can see the following lines if you trace the Seafile container (i.e., `docker logs seafile`):
|
||||
|
||||
```log
|
||||
---------------------------------
|
||||
|
|
|
|||
|
|
@ -454,7 +454,6 @@ For **seafile.conf**:
|
|||
```
|
||||
[cluster]
|
||||
enabled = true
|
||||
memcached_options = --SERVER=<IP of memcached node> --POOL-MIN=10 --POOL-MAX=100
|
||||
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue