Harden startup config
This commit is contained in:
2
backend/src/main/resources/application-local.yml
Normal file
2
backend/src/main/resources/application-local.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
jwt:
|
||||
secret: ${JWT_SECRET:local-development-jwt-secret-change-me-please-123456}
|
||||
@@ -33,9 +33,7 @@ spring:
|
||||
open-in-view: false
|
||||
|
||||
flyway:
|
||||
enabled: true
|
||||
baseline-on-migrate: true
|
||||
baseline-version: 1
|
||||
enabled: false
|
||||
|
||||
server:
|
||||
port: ${SERVER_PORT:8080}
|
||||
@@ -50,7 +48,7 @@ springdoc:
|
||||
path: /swagger-ui
|
||||
|
||||
jwt:
|
||||
secret: ${JWT_SECRET:change_me_please_make_this_at_least_32_characters_long_for_security}
|
||||
secret: ${JWT_SECRET}
|
||||
expiration: ${JWT_EXPIRATION:86400000}
|
||||
|
||||
stripe:
|
||||
|
||||
Reference in New Issue
Block a user