If you declare some volumes using the short syntax and some others using the long syntax, the ones using the long syntax will fail parsing. I believe this to be an upstream problem in serde_yaml.
$ podlet compose frigate.yaml
Error:
0: File `frigate.yaml` is not a valid compose file
1: services.frigate: data did not match any variant of untagged enum Volumes at line 4 column 5
Location:
src/cli.rs:543
I have already reported it upstream to stephanbuys/docker-compose-types#31. This issue is just to notify the author(s) and other users of podlet. For more details, see that issue.
The author of docker-compose-types responded very expediently and fixed it. Turns out it's just an implementation issue. Just need to bump to v0.6.1 and this should be fixed.
TLDR
If you declare some volumes using the short syntax and some others using the long syntax, the ones using the long syntax will fail parsing.
I believe this to be an upstream problem inserde_yaml
.Using Frigate as an example:
I have already reported it upstream to stephanbuys/docker-compose-types#31. This issue is just to notify the author(s) and other users of podlet. For more details, see that issue.