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

Changing a docker-compose file after it has been loaded #285

Open
q-bertsuit opened this issue Mar 7, 2023 · 1 comment
Open

Changing a docker-compose file after it has been loaded #285

q-bertsuit opened this issue Mar 7, 2023 · 1 comment

Comments

@q-bertsuit
Copy link

q-bertsuit commented Mar 7, 2023

I would like to make changes to a compose file after it has been loaded. Specifically, I would like to change the ports that are exposed by some of the services. Is this possible?

      using (var svc = new Builder()
                        .UseContainer()
                        .UseCompose()
                        .FromFile(file)
                        .RemoveOrphans()
                        .Build().Start())
    // @formatter:on
      {
}
@mariotoffia
Copy link
Owner

sorry not at the moment. But it is in the roadmap and I'll gladly accepts PR for it! There are several models under the namesapce: Ductus.FluentDocker.Model.Compose that are to be used in the process.

Cheers,
Mario :)

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

No branches or pull requests

2 participants