Scale command doesn't do anything
liyaka opened this issue · 4 comments
I have several containers defined in compose file, and it works great with compose-ui.
When I press on "scale" button on a container, the page is refreshed but nothing happens.
If I run from command line on the machine:
docker-compose scale worker=2
it runs the second worker container and i can see it in UI.
Is there logs i can see in docker-compose-ui? What is missing?
Please advise.
Thank you
Hi,
I've tested francescou/docker-compose-ui:0.20.1
on Chromium 52 and Firefox 48 and it works fine with the demo project node-redis
I'm running on my machine:
- docker-compose version 1.8.0
- docker version: 1.12.1
You can see the docker-compose-ui logs with docker logs docker-compose-ui
but, in this case, I guess it could be a client-side issue so you could open Chrome/Firefox developer tools and see the "Console" tab
could you please tell me what browser are you using and which version of docker/docker-compose/docker-compose-ui are you running? thanks
I found the problem - I use environment variables in my compose file, and when I'm trying to scale from UI it fails to run since they are not set.
I saw there is another open issue on possible variables settings... At the moment, is there another option to fix it except managing env_file?
if I understand correctly you set environment variables and then run a docker-compose command, e.g. version=1.2.3 docker-compose up -d
#31 (comment)
you need to define an environment variable in the docker-compose-ui container either using and env_file or passing it as an argument, e.g. docker run -e version=1.2.3 ... francescou/docker-compose-ui:0.20.1
Ok, thanks.