Skip to content

Conversation

@ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Oct 28, 2025

based on #824

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glours glours merged commit a91b45c into compose-spec:main Oct 28, 2025
8 checks passed
@doringeman
Copy link

Thank you!
So does this fix running docker-compose up with the root docker-compose.yml in docker/hello-genai#15?

@doringeman
Copy link

It doesn't, I still get:

$ docker compose up
validating /Users/doringeman/workspace/hello-genai/docker-compose.yml: services.go-genai.models.llama must be a mapping

@ndeloof ndeloof deleted the merge_model branch October 28, 2025 09:11
@ndeloof
Copy link
Collaborator Author

ndeloof commented Oct 28, 2025

@doringeman need to bump compose-go dependency in docker/compose

@doringeman
Copy link

@ndeloof I did that.

$ go mod edit -replace=github.com/compose-spec/compose-go/v2=github.com/compose-spec/compose-go/v2@45305bfca8aa1a17d3ec9e2b6421113db17cfa7b && go mod tidy && make install

$ ./bin/build/docker-compose version
Docker Compose version v2.23.3-950-ga07f2b8de.m

$ docker compose version
Docker Compose version v2.23.3-950-ga07f2b8de.m

$ docker compose up
validating /Users/doringeman/workspace/hello-genai/docker-compose.yml: services.node-genai.models.llama must be a mapping

Maybe the way that Compose files are written are not supposed to work?

@ndeloof
Copy link
Collaborator Author

ndeloof commented Oct 28, 2025

@doringeman indeed
see #829

tested with:

replace github.com/compose-spec/compose-go/v2 => github.com/ndeloof/compose-go/v2 v2.0.1-0.20251028111733-3b4552469c27

@doringeman
Copy link

@ndeloof Yes, it works now, thank you! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants