Skip to content
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

[General Question] How can i use moon task to manage my docker composes #1819

Open
JustKira opened this issue Feb 5, 2025 · 1 comment
Open

Comments

@JustKira
Copy link

JustKira commented Feb 5, 2025

I have multiple Docker Compose configurations, each corresponding to a different service. I want to structure my infrastructure setup using Moon in a way that doesn’t require a specific project to run.

My goal is to define custom infrastructure setups for different projects, where each setup can include multiple Docker Compose files and optionally load custom environment variables.

For example:

moon web-infra should use two Docker Compose files and may load a custom environment.
moon dashboard-infra should use five Docker Compose files and may load a custom environment.
And so on for other services.
I’m looking for a way to achieve this setup efficiently within Moon.

@milesj
Copy link
Collaborator

milesj commented Feb 7, 2025

I don't have much experience with Docker compose, so I'm not sure I'd have to best answer here.

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

No branches or pull requests

2 participants