diff --git a/.gitignore b/.gitignore index 667aaef..b9fcd77 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,5 @@ build/ ### VS Code ### .vscode/ + +.env diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index f4e6c57..75939e4 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -26,5 +26,5 @@ gateway: response-timeout: 10s jwt: - secret: your-super-long-secret-key-change-me - expiration-minutes: 1440 \ No newline at end of file + secret: ${JWT_SECRET} + expiration-minutes: ${JWT_EXPIRATION_MINUTES:1440} \ No newline at end of file