diff options
author | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-03-11 14:15:49 +0200 |
---|---|---|
committer | Ruslan Kashapov <ruslan.kashapov@pantheon.tech> | 2021-03-12 11:08:36 +0200 |
commit | 0d6bbae9baa4531f5b5c3009fa72e691cf30fe41 (patch) | |
tree | d1167ff623eb76cdca2b907c21a0dd1274af56e4 /docker-compose/application.yml | |
parent | 99f0f0be7cc540dd32aacc770468d73444bcfb18 (diff) |
Move web security configuration to application module
Issue-ID: CPS-288
Change-Id: Ieba184c3e4727e354c19a3db31325052d15ced44
Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'docker-compose/application.yml')
-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 9b841cb860..be4b688cf3 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:
|