I am trying to deploy my docker-compose based stack to Docker for AWS (created via AWS CloudFormation).
My compose YAML file is managed in Git repository and Docker images in private registry (Gitlab).
What is the correct way of working with Manager to deploy a service?
I tried (and failed) several approaches:
- Working with local Docker client via Docker API is not possible, because Docker for AWS manager node is not opening 2375 port.
- Rsyncing compose YAML and environment file directly to manager node is not possible, because
rsync
is not installed on Amazon Docker AMI. - curl the file from Gitlab seems like a very inconvenient way of doing it.
Thanks