Skip to content

compose: factor services into separate files - #2395

Merged
Mirko-von-Leipzig merged 3 commits into
nextfrom
mirko/split-compose
Jul 29, 2026
Merged

compose: factor services into separate files#2395
Mirko-von-Leipzig merged 3 commits into
nextfrom
mirko/split-compose

Conversation

@Mirko-von-Leipzig

Copy link
Copy Markdown
Collaborator

Summary

This PR splits our docker compose file into separate files per service. This is in anticipation of adding more services, making a single file impractical.

The files are included in the main file, this means users don't have to manually -f <file>. The downside of this approach is that docker compose publish does not support this split. We circumvent this by flattening the files before publishing in the release flow. This is abstracted by a github action, so its not very painful.

Changelog

changelog = "none"
reason    = "Internal change only."

@kkovaacs kkovaacs left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good to me!

It'd be great if we could use the missing pull policy though, but that's just a nit at this point.

Comment thread compose/bootstrap.yml Outdated
@Mirko-von-Leipzig Mirko-von-Leipzig changed the title Mirko/split compose compose: factor services into separate files Jul 29, 2026
@Mirko-von-Leipzig
Mirko-von-Leipzig merged commit ca305b6 into next Jul 29, 2026
28 checks passed
@Mirko-von-Leipzig
Mirko-von-Leipzig deleted the mirko/split-compose branch July 29, 2026 14:15
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.

2 participants