Files
workavia-drive/Documentation/docs/onprem/configuration/security.md
T
Romaric Mourgues 88bd3b2a32 Clean documentation
2023-04-17 17:00:03 +02:00

34 lines
700 B
Markdown

---
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 TDrive security in [docker-compose.yml location]/configuration/backend-node/production.json:
```json
{
"websocket": {
"auth": {
"jwt": {
"secret": "xxx" // JWT secret for websockets
}
}
},
"auth": {
"jwt": {
"secret": "xxx" // JWT secret
}
},
"database": {
"secret": "xxx" // Db app layer encryption key
},
"storage": {
"secret": "xxx", // Storage app layer encryption key
"iv": "xxx" // Storage app layer encryption iv
}
}
```