generate random secret key

This commit is contained in:
Jazys 2023-08-31 22:01:47 +02:00 committed by Nicolas Meienberger
parent 0889eea8d8
commit 03287125f2
2 changed files with 16 additions and 2 deletions

View File

@ -22,6 +22,20 @@
"min": 30,
"max": 30,
"env_variable": "DB_PASSWORD"
},
{
"type": "random",
"label": "Secret key base",
"min": 32,
"max": 32,
"env_variable": "SECRET_KEY_BASE"
},
{
"type": "random",
"label": "Lock master key",
"min": 64,
"max": 64,
"env_variable": "LOCKBOX_MASTER_KEY"
}
]
}

View File

@ -55,8 +55,8 @@ services:
- SERVE_CLIENT=false
- SERVER_HOST=tooljet-server
- TOOLJET_HOST=https://${APP_DOMAIN}
- LOCKBOX_MASTER_KEY=70726290922441785304399601987729268981756953900892
- SECRET_KEY_BASE=mqrBZqJvzUJ2GsHQaktZjKdb2cvdM8
- LOCKBOX_MASTER_KEY=${LOCKBOX_MASTER_KEY}
- SECRET_KEY_BASE=${SECRET_KEY_BASE}
- ORM_LOGGING
- PG_DB=tooljet
- PG_USER=tooljet