🔧(dev) generate the JWT signing key when bootstrapping the dev stack

Thw private key needed to generate a jwt token will be mandatory. In
order to ease the development we want to automate its generation
This commit is contained in:
Manuel Raynaud
2026-09-01 15:15:35 +02:00
committed by Anthony LC
parent a071ebb040
commit 4e251aef96
6 changed files with 43 additions and 1 deletions
+5
View File
@@ -22,6 +22,11 @@ DJANGO_EMAIL_LOGO_IMG="http://localhost:3000/assets/logo-suite-numerique.png"
DJANGO_EMAIL_PORT=1025
DJANGO_EMAIL_URL_APP="http://localhost:3000"
# JWT
# The key itself is generated locally by "make generate-secret-keys", it is
# never committed. A PEM does not fit in an env var, hence the _FILE variant.
JWT_PRIVATE_KEY_FILE=/data/jwt/private.pem
# Backend url
IMPRESS_BASE_URL="http://localhost:8072"