Add property to control Docker Compose start command execution

If the property 'spring.docker.compose.start.skip' is set to 'never',
the start command is always executed. The default value of 'if-running'
only executes the start command if there are no services running
already, which is the old behavior.

Closes gh-39749
This commit is contained in:
Moritz Halbritter
2024-04-05 08:36:21 +02:00
parent 2ab0e024c8
commit 6d192e62fd
5 changed files with 116 additions and 8 deletions

View File

@@ -18,6 +18,10 @@
"name": "spring.docker.compose.start.log-level",
"defaultValue": "info"
},
{
"name": "spring.docker.compose.start.skip",
"defaultValue": "if-running"
},
{
"name": "spring.docker.compose.stop.command",
"defaultValue": "stop"