Skip to content

Compose include: is not supported #1657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TorstenDittmann opened this issue Apr 8, 2025 · 1 comment
Closed

Compose include: is not supported #1657

TorstenDittmann opened this issue Apr 8, 2025 · 1 comment
Labels
question Further information is requested

Comments

@TorstenDittmann
Copy link

TorstenDittmann commented Apr 8, 2025

To Reproduce

Using the include: feature in compose files is not supported.

https://docs.docker.com/compose/how-tos/multiple-compose-files/include/

Very likely those are not working too:

Current vs. Expected behavior

Services from included compose files are not included.

Provide environment information

*not relevant*

Which area(s) are affected? (Select all that apply)

Docker Compose

Are you deploying the applications where Dokploy is installed or on a remote server?

Same server where Dokploy is installed

Additional context

I could work on this, but there are so uncovered features similar to this - where it would probably makes to most sense to use docker compose config internally. So I'd rather wait for feedback before I start.

Will you send a PR to fix it?

No

@Siumauricio Siumauricio added question Further information is requested and removed needs-triage🔍 labels Apr 12, 2025
@Siumauricio
Copy link
Contributor

This is incorrect, include directive is working, you can see this example:
https://github.com/Dokploy/examples/tree/feat/compose-include/compose-include

Image

Image

Example for extends
https://github.com/Dokploy/examples/tree/feat/compose-include/compose-extends

and for merge you can use this example
https://github.com/Dokploy/examples/tree/feat/compose-include/compose-merge

Just make sure to modify the custom command

Image

Image

I will mark this as done since this cover all the cases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants