TripleParity / docks-api

RESTful API Server for Docks
https://tripleparity.github.io/docks-api/stack-api-spec.html
GNU General Public License v3.0
0 stars 0 forks source link

docker-compose up port issue #55

Closed annamarieHelberg closed 6 years ago

annamarieHelberg commented 6 years ago

I experience an error every time I try to run docker-compose up for the second time. It tells me the port is already in use even after the 'docker-compose down' command which leads to me having to kill the process on the port before I can continue.

Is it a mistake on my side or can it be fixed on the api side?

egeldenhuys commented 6 years ago

It might take a while for docker-compose to kill the running containers.

I recommend using docker stack to deploy a specific version of docks-api and then using ng serve to host the front-end. docker-compose does not support Docker Swarm. See the README in docks-ui develop.

Let me know if you have further problems with this

annamarieHelberg commented 6 years ago

I will try that in the future. Can you please update it in the docks-api README as well?

egeldenhuys commented 6 years ago

I will document the workflows as part of #56