Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

[Enhancement] Edit docker-compose file for existing services #107

Closed
dchidell opened this issue May 14, 2018 · 7 comments
Closed

[Enhancement] Edit docker-compose file for existing services #107

dchidell opened this issue May 14, 2018 · 7 comments

Comments

@dchidell
Copy link

The ability to clone services is great, as these can be edited in-browser, saved and run. However for existing services there is no way (that I can see) to modify the compose file and re-'up' the service to apply changes made to containers within the service.

Can the functionality of editing a cloned service be extended to allow for editing of existing services?

@MichaelMackus
Copy link
Contributor

Technically this should be possible, since clone already includes the existing env & docker-compose (from what I remember). I'd just have to add the endpoint to "update" an existing project (assuming that functionality doesn't exist).

@francescou
Copy link
Owner

When you say existing services you're referring to externally managed docker-compose projects, right?

If so, I think it would be pretty difficult to clone a running project since there is no way to create a docker-compose.yml file from a bunch of running containers.

@dchidell
Copy link
Author

Sorry I think I may have confused the issue by mentioning clone.

Essentially what I am trying to do is simply edit the compose file for an existing service within the UI.

@francescou
Copy link
Owner

Sorry for the misunderstanding, I've implemented this feature and it is now available using francescou/docker-compose-ui:latest

I am now testing it and it should be included in the next release in the upcoming days.

@dchidell
Copy link
Author

I've tested this on the latest release and looks good! There's a small cosmetic issue that the message displayed in the bottom right displays 'created project' rather than 'updated project', but functionality wise I can't see any issues. Thanks for implementing this so quickly!

@francescou
Copy link
Owner

the feature has been released in francescou/docker-compose-ui:1.13.0 (I've corrected the message as well)

@francescou
Copy link
Owner

I'm closing this issue, feel free to reopen if necessary.

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

No branches or pull requests

3 participants