update compose file format from 3.4 to 3.8
resolves docker stack deploy error: networks.default Additional property name is not allowed
This commit is contained in:
parent
236f9dd82d
commit
5db1a2d24f
4 changed files with 4 additions and 4 deletions
|
@ -32,7 +32,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"version": "3.4",
|
||||
"version": "3.8",
|
||||
"volumes": {},
|
||||
"x-arion": {
|
||||
"images": [
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
"volumes": []
|
||||
}
|
||||
},
|
||||
"version": "3.4",
|
||||
"version": "3.8",
|
||||
"volumes": {},
|
||||
"x-arion": {
|
||||
"images": [
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
]
|
||||
}
|
||||
},
|
||||
"version": "3.4",
|
||||
"version": "3.8",
|
||||
"x-arion": {
|
||||
"images": [
|
||||
{
|
||||
|
|
|
@ -75,7 +75,7 @@ in
|
|||
out.dockerComposeYamlAttrs = config.assertWarn config.docker-compose.raw;
|
||||
|
||||
docker-compose.raw = {
|
||||
version = "3.4";
|
||||
version = "3.8";
|
||||
services = lib.mapAttrs (k: c: c.out.service) config.services;
|
||||
x-arion = config.docker-compose.extended;
|
||||
volumes = config.docker-compose.volumes;
|
||||
|
|
Loading…
Reference in a new issue