Clean documentation

This commit is contained in:
Romaric Mourgues
2023-04-17 17:00:03 +02:00
parent a46c6ca0a8
commit 88bd3b2a32
80 changed files with 138 additions and 2492 deletions
@@ -1,18 +1,15 @@
---
description: You should update this security keys to ship Twake in production.
description: You should update this security keys to ship TDrive in production.
---
# 🔒 Security
> See how to [Detach Configuration](./) first.
The following keys must be updated to increase Twake security in [docker-compose.yml location]/configuration/backend-node/production.json:
The following keys must be updated to increase TDrive security in [docker-compose.yml location]/configuration/backend-node/production.json:
```json
{
"phpnode": {
"secret": "xxx" // Secret for PHP<->Node communication, deprecated like PHP
},
"websocket": {
"auth": {
"jwt": {
@@ -34,27 +31,3 @@ The following keys must be updated to increase Twake security in [docker-compose
}
}
```
The following keys must be updated to increase Twake security in /configuration/backend/Parameters.php:
```text
"env" => [
"secret" => "somesecret", //Any string
],
...
"websocket" => [
...
"pusher_public" //Generate public and private key
"pusher_private" //Put private key here
],
"db" => [
...
"encryption_key" //Any string
]
...
"storage" => [
...
"drive_salt" => "SecretPassword", //Any string
],
...
```