docs: updated documentation (#476)

Co-authored-by: Monta <monta@HP-ProBook-445-14-inch-G9-Notebook-PC-505aadfc.localdomain>
This commit is contained in:
Montassar Ghanmy
2024-05-07 17:21:17 +01:00
committed by GitHub
parent 3b20806622
commit 24da0c8cfb
22 changed files with 102 additions and 858 deletions
@@ -1,16 +1,16 @@
---
description: More details about TDrive configuration.
description: More details about Twake Drive configuration.
---
# ⚙️ Server configuration
### Detach the configuration and start using your own
Each configuration file is optional, if not given, TDrive will fallback to default configuration.
Each configuration file is optional, if not given, Twake Drive will fallback to default configuration.
#### Backend configuration
You can find an example of TDrive configuration (default configuration) here: [https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/node/config/default.json](https://github.com/TDriveApp/TDrive/blob/main/tdrive/backend/node/config/default.json)
You can find an example of Twake Drive configuration (default configuration) here: [https://github.com/linagora/twake-drive/blob/main/tdrive/backend/node/config/default.json](https://github.com/linagora/twake-drive/blob/main/tdrive/backend/node/config/default.json)
Copy the content of this file and put it in `[docker-compose.yml location]/configuration/backend-node/production.json`
@@ -18,7 +18,7 @@ Copy the content of this file and put it in `[docker-compose.yml location]/confi
#### Frontend configuration (only for scalable mode)
You can find an example of TDrive configuration (default configuration) here: [https://github.com/TDriveApp/TDrive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist](https://github.com/TDriveApp/TDrive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist)
You can find an example of Twake Drive configuration (default configuration) here: [https://github.com/linagora/twake-drive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist](https://github.com/linagora/twake-drive/blob/main/tdrive/frontend/src/app/environment/environment.ts.dist)
Copy the content of this file and put it in `[docker-compose.yml location]/configuration/frontend/environment.ts`
@@ -1,12 +1,12 @@
---
description: You should update this security keys to ship TDrive in production.
description: You should update this security keys to ship Twake Drive in production.
---
# 🔒 Security
<!-- TODO[NOT UP TO DATE] -->
> See how to [Detach Configuration](./) first.
The following keys must be updated to increase TDrive security in [docker-compose.yml location]/configuration/backend-node/production.json:
The following keys must be updated to increase Twake Drive security in [docker-compose.yml location]/configuration/backend-node/production.json:
```json
{