francescou / docker-compose-ui

web interface for Docker Compose
http://francescou.github.io/docker-compose-ui
MIT License
1.54k stars 228 forks source link

Support for Stacks and Bundles #71

Open marascha opened 7 years ago

marascha commented 7 years ago

Hi @francescou,

thank you very much for this great tool. It has helped us a lot in our QA workflow and we would like to continue using it in our project. With the release 1.13 Docker-Engine will support deploying stacks directly from compose files. It will be great if docker-compose-ui integrates this feature, so that stacks defined in a compose-file could get deployed on a swarm by compose-ui. Are you considering such an update?

Best regards, Ali

francescou commented 7 years ago

Hello Ali, thanks!

I'm waiting for this feature too, I will definitely support DAB once it will be released

marascha commented 7 years ago

Great, we're looking forward to using it.

francescou commented 7 years ago

Hello @marascha , I've just released v1.3.0 based on compose 1.10.0

the new Compose file version 3.0 should support the docker stack commands, it shoud work with Docker engine 1.13 (I didn't test it yet)

marascha commented 7 years ago

Thank you @francescou . Does that mean that compose-ui deploys stacks from compose-files by using docker stack deploy --compose-file ... command behind the scenes? docker-compose, AFAIK, does not support stacks and services...

WTFKr0 commented 7 years ago

I use every day compose file v3 format with docker stack deploy command. So I think docker-compose ui need that too :D

francescou commented 7 years ago

@WTFKr0 I agree with you. The problem is that AFAIK docker stack COMMAND is built-in into docker's CLI and there is no API (neither python nor go)

I've developed an experimental API based on the docker cli code but I think it is way too hackish and difficult to maintain.

francescou commented 7 years ago

I suggest you to try Portainer 1.15 which allows you to manage stacks in Swarm clusters (see issue https://github.com/portainer/portainer/issues/257).

WTFKr0 commented 7 years ago

Thanx for return Yh i know very well portainer as well as a regular contributor