I've got a docker-compose.yml
file which defines 3 services: MySQL db, ASP.NET Core api application and Angular application. The last two images are built locally, not pulled from a remote repository. How am I supposed to log in from my local machine to Digital Ocean droplet and push my services on it?
I tried
docker-machine create --driver digitalocean --digitalocean-access-token=myToken --digitalocean-ssh-key-path myPath --digitalocean-ssh-user "root" dropletName
But it only creates a droplet. I don't want to create it because it is already created.
What's the algorithm to attach my local bash to the DO droplet's console and run docker-compose up
? Or maybe I misunderstand the deployment procedure with Docker, what does it look like then?