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": {},
|
"volumes": {},
|
||||||
"x-arion": {
|
"x-arion": {
|
||||||
"images": [
|
"images": [
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
"volumes": []
|
"volumes": []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "3.4",
|
"version": "3.8",
|
||||||
"volumes": {},
|
"volumes": {},
|
||||||
"x-arion": {
|
"x-arion": {
|
||||||
"images": [
|
"images": [
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "3.4",
|
"version": "3.8",
|
||||||
"x-arion": {
|
"x-arion": {
|
||||||
"images": [
|
"images": [
|
||||||
{
|
{
|
||||||
|
|
|
@ -75,7 +75,7 @@ in
|
||||||
out.dockerComposeYamlAttrs = config.assertWarn config.docker-compose.raw;
|
out.dockerComposeYamlAttrs = config.assertWarn config.docker-compose.raw;
|
||||||
|
|
||||||
docker-compose.raw = {
|
docker-compose.raw = {
|
||||||
version = "3.4";
|
version = "3.8";
|
||||||
services = lib.mapAttrs (k: c: c.out.service) config.services;
|
services = lib.mapAttrs (k: c: c.out.service) config.services;
|
||||||
x-arion = config.docker-compose.extended;
|
x-arion = config.docker-compose.extended;
|
||||||
volumes = config.docker-compose.volumes;
|
volumes = config.docker-compose.volumes;
|
||||||
|
|
Loading…
Reference in a new issue