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:
Kiara Grouwstra 2024-08-03 18:30:19 +00:00
parent 236f9dd82d
commit 5db1a2d24f
4 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@
]
}
},
"version": "3.4",
"version": "3.8",
"volumes": {},
"x-arion": {
"images": [

View file

@ -17,7 +17,7 @@
"volumes": []
}
},
"version": "3.4",
"version": "3.8",
"volumes": {},
"x-arion": {
"images": [

View file

@ -21,7 +21,7 @@
]
}
},
"version": "3.4",
"version": "3.8",
"x-arion": {
"images": [
{

View file

@ -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;