🔧(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-22 16:00:42 +02:00
parent 61b396ebc6
commit dde9718ca0
6 changed files with 44 additions and 2 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"