|
|
@@ -1,3 +1,32 @@
|
|
|
+
|
|
|
+security:
|
|
|
+ oauth2:
|
|
|
+ client:
|
|
|
+ accessTokenUri: ${security.server.url:http://localhost:8082}/oauth/access_token
|
|
|
+ userAuthorizationUri: ${security.server.url:http://localhost:8082}/oauth/authorize
|
|
|
+ clientId: crss
|
|
|
+ clientSecret: crsssecret
|
|
|
+ authorized-grant-types: authorization_code,refresh_token,password
|
|
|
+ scope: openid
|
|
|
+ access-token-validity-seconds: 3600
|
|
|
+ resource:
|
|
|
+ userInfoUri: ${security.server.url:http://localhost:8082}/user
|
|
|
+
|
|
|
logging:
|
|
|
pattern:
|
|
|
level: 'username:%X{username:-system} %5p'
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: docker
|
|
|
+security.server.url: http://app:8080
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: staging
|
|
|
+ profiles.include: docker
|
|
|
+
|
|
|
+---
|
|
|
+spring:
|
|
|
+ profiles: uat
|
|
|
+ profiles.include: docker
|