cli/compose: add schema 3.12 (no changes with 3.11 yet)

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2023-10-20 18:42:55 +02:00
parent 3e5f6badcb
commit 9df7be5d5e
8 changed files with 680 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
version: "3.10"
version: "3.12"
services:
foo:
+1 -1
View File
@@ -8,7 +8,7 @@ import (
func fullExampleConfig(workingDir, homeDir string) *types.Config {
return &types.Config{
Version: "3.10",
Version: "3.12",
Services: services(workingDir, homeDir),
Networks: networks(),
Volumes: volumes(),
+1 -1
View File
@@ -181,7 +181,7 @@ func strPtr(val string) *string {
}
var sampleConfig = types.Config{
Version: "3.11",
Version: "3.12",
Services: []types.ServiceConfig{
{
Name: "foo",
+1 -1
View File
@@ -508,7 +508,7 @@
"working_dir": "/code"
}
},
"version": "3.10",
"version": "3.12",
"volumes": {
"another-volume": {
"name": "user_specified_name",
+1 -1
View File
@@ -1,4 +1,4 @@
version: "3.10"
version: "3.12"
services:
foo:
build: