compose-go
compose-go copied to clipboard
Reference library for parsing and loading Compose YAML files
A lot of users and issues (https://github.com/docker/compose/issues/2380, https://github.com/docker/compose/issues/4725) of docker-compose faced with problem: how to pass UID and GID? So where are some crutches like `export UID` or `UID=$UID docker-compose...
During the variable substitution, if a missing variable was followed by an existing one, the empty "err" variable overwrote the previous non-empty variable. Unlike with Docker Compose v1, the first...
Adopting go.yaml/v3 will bring support for yaml 1.2 schema this PR require https://github.com/go-yaml/yaml/pull/753
Why not allow all characters in variable names when env_file is used? Why not let the system shell handle this if Docker allows it? Related issue: https://github.com/docker/compose/issues/8862 **Docker version 20.10.17,...
fix a bug reported in https://github.com/docker/compose/issues/9526 by adding service dependency check after reading the Docker compose configuration YAML file. Signed-off-by: Junyuan Zheng
The `command` field of a compose service can be [either a list of strings, or a single string](https://docs.docker.com/compose/compose-file/#command). This project represents it as ``` // ShellCommand is a string or...
implements https://github.com/compose-spec/compose-spec/pull/253
closes https://github.com/compose-spec/compose-go/issues/247
Apparently calling a service in a docker-compose file "extensions" is not allowed. I didn't find any mention about it being a keyword or anything else in the [docker-compose file reference](https://docs.docker.com/compose/compose-file/)...
I'd like to use this project to pre-process a compose file - basically inject some labels, verify configuration, etc. - before marshalling it back to yaml for use by `docker...