-
Notifications
You must be signed in to change notification settings - Fork 227
Update a project #65
Comments
Hi @allamand thank you very much :) actually...I'm not sure if it would be useful a file editor inside the Compose UI. It seems more interesting to me to manage all the files in a git repository and let the UI Load projects from a git repository my team is using docker-compose-ui with gitlab to do so, this way we have version control and centralized authentication/authorization. what do you think about this? |
Thanks @francescou, I'll give a try to the git workflow and let you know. Do you activate create project from compose-ui in combination of git source for compose-projects ? Sébastien
|
@francescou I tried with GIT url but got an error :
similar error with https endpoint instead of ssh
Do you have any idea how to debug ? (can't exec in the container) |
Hi, my problem may be occur cause of self-signed certificates problem for my gitlab instance. could we imagine allow to enable something like |
OK I Fix this by adding the env var GIT_SSL_NO_VERIFY when starting the container :
This works for me I close the issue! |
Sorry I reopen the thread I've got additional question : Even with a git workflow for compose-projects I would like to enable "ephemeral" project creation for users to quickly create/test live conf on compose-ui, and when they are satisfied they can submit properly using git workflow. It seams that project creation don't works with gitlab wlows actually ? When pushing new project I've got an error |
Hi, In order to allow me to enable local update for testing purpose (letting know users that updates from UI is ephemeral and to backup thems they need to make a pull request in the compose-projects-repo) I update this in scripts/git_repo.py :
This allow to have both git feature, and local update enabled. What do you think about it ? |
Hi @allamand and thanks for your contribution if I understood correctly you don't want user to create ephemeral projects on the git repository, right? |
Hi @francescou, No in fact that the opposite, even with git repo I would like users to be able to create test project Sébastien
|
Hi, the problem is that it can be a bit confusing, using git, to create new project on docker-compose-ui and then not be able to push the modifications (the git repo is read-only). We usually let the users create new projects on gitlab and then they can use them on docker-compose-ui once they've clicked "Reload projects" (it performs a We also have an automated deployment pipeline (from git push to docker container deployment), I can write you an email if you are interested. |
I entirely agree with you! But in my case I am promoting the use of docker swarm for many different teams with different working method, and as a first approach the use of gitlab and merge request may be overkill and I will loose to many people on the road. I have change the path of directory in my fork so that both fit and local update are Woking with lot of WARNING in the réadme to remind users that if they want their project to persist they need to make pull request in gitlab. Meanwhile they can easily play around using create button. Yes please share your pipeline if you could ;) Sébastien
|
Hi @francescou,
Great works on this compose-ui!!
Do you have planed for an Edit Button for either Yaml file, Reame file (logo also should be nice)
I plan to use compose-ui to allow several dev teams to interract with a docker swarm cluster, and theses features would be great.
The text was updated successfully, but these errors were encountered: