Add Docker Compose support
Add `spring-boot-docker-compose` module with service connection support. Closes gh-34747 Co-authored-by: Phillip Webb <pwebb@vmware.com> Co-authored-by: "Andy Wilkinson <wilkinsona@vmware.com>
This commit is contained in:
committed by
Phillip Webb
parent
4ae24e404e
commit
842e17eced
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
* Copyright 2012-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -78,6 +78,7 @@ public class DocumentConfigurationProperties extends DefaultTask {
|
||||
snippets.add("application-properties.security", "Security Properties", this::securityPrefixes);
|
||||
snippets.add("application-properties.rsocket", "RSocket Properties", this::rsocketPrefixes);
|
||||
snippets.add("application-properties.actuator", "Actuator Properties", this::actuatorPrefixes);
|
||||
snippets.add("application-properties.docker-compose", "Docker Compose Properties", this::dockerComposePrefixes);
|
||||
snippets.add("application-properties.devtools", "Devtools Properties", this::devtoolsPrefixes);
|
||||
snippets.add("application-properties.testing", "Testing Properties", this::testingPrefixes);
|
||||
snippets.writeTo(this.outputDir.toPath());
|
||||
@@ -211,6 +212,10 @@ public class DocumentConfigurationProperties extends DefaultTask {
|
||||
prefix.accept("management");
|
||||
}
|
||||
|
||||
private void dockerComposePrefixes(Config prefix) {
|
||||
prefix.accept("spring.docker.compose");
|
||||
}
|
||||
|
||||
private void devtoolsPrefixes(Config prefix) {
|
||||
prefix.accept("spring.devtools");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user