diff options
author | 2021-03-12 16:04:00 +0000 | |
---|---|---|
committer | 2021-03-12 16:04:00 +0000 | |
commit | 344434b68c2418c6e901e7acab02886be6e6b1cb (patch) | |
tree | 09c332bc664fe25513919c5f05a3c73fed6edb78 /docker-compose | |
parent | 3de08a9590b5590d5961d9e4047751760043307e (diff) | |
parent | 0d6bbae9baa4531f5b5c3009fa72e691cf30fe41 (diff) |
Merge "Move web security configuration to application module"
Diffstat (limited to 'docker-compose')
-rw-r--r-- | docker-compose/application.yml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker-compose/application.yml b/docker-compose/application.yml index 9b841cb86..be4b688cf 100644 --- a/docker-compose/application.yml +++ b/docker-compose/application.yml @@ -34,6 +34,13 @@ spring: change-log: classpath:changelog/changelog-master.yaml
labels: ${LIQUIBASE_LABELS}
+security:
+ # comma-separated uri patterns which do not require authorization
+ permit-uri: /manage/health/**,/manage/info,/swagger-ui/**,/swagger-resources/**,/v3/api-docs
+ auth:
+ username: ${CPS_USERNAME:cpsuser}
+ password: ${CPS_PASSWORD:cpsr0cks!}
+
# Actuator
management:
endpoints:
|