Add JWT_SECRET environment variable to Docker configurations and update JwtService to use it

This commit is contained in:
Aaron Po
2026-02-07 20:04:19 -05:00
parent 6d812638ba
commit a1ea6391bc
4 changed files with 9 additions and 5 deletions

View File

@@ -73,6 +73,7 @@ services:
environment:
DOTNET_RUNNING_IN_CONTAINER: "true"
DB_CONNECTION_STRING: "${TEST_DB_CONNECTION_STRING}"
JWT_SECRET: "${JWT_SECRET}"
volumes:
- ./test-results:/app/test-results
restart: "no"
@@ -93,6 +94,7 @@ services:
environment:
DOTNET_RUNNING_IN_CONTAINER: "true"
DB_CONNECTION_STRING: "${TEST_DB_CONNECTION_STRING}"
JWT_SECRET: "${JWT_SECRET}"
volumes:
- ./test-results:/app/test-results
restart: "no"