Skip to content

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

@q-bertsuit

Description

@q-bertsuit

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
      {
}

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions