Hey folks!
last week I published my own opinionated & minimalist JavaScript full-stack starter-kit on GitHub:
JavaScript Full-Stack Starter Kit 🚀
The one final missing part of my starter-kit is the deployment. I know that there is no one-fits-all solution for deployments, but I am looking for an easy way to deploy my containerized application to a MVP-ready cloud environment.
Looking forward to hearing your ideas on that!
Cheers,
Michael ✌️
Top comments (8)
Serverless is one of the way to do it
But personally I use AWS codebuild+codedepoly to s3 and elasticBS
Serverless:
serverless.com/
+1: mono repo with lerna + AWS codebuld + s3 + AWS cloudfront
You can use your docker-compose.yml with Stack deployment, by adding an image tag to your service you might make it easier for yourself.
Remember the compose also takes env variables, so adding $REGISTRY/$IMAGE_NAME:$TAG might assist you with your deploys :-)
NB: environment variables have to exist aswell, what is your ci tool?
I am currently not using a specific CI tool, as my repo should be a generic boilerplate to kick-start new projects.
What would be the benefits of docker stack deployments over docker-compose?
Well, I'm migrating my stuff to a mono-repo, all my projects have a docker-compose.yml,
concatenating these allows me to deploy everything in the repo, those that haven't changed won't change, but those that have will be updated to the latest $TAG
I find that easier to handle than having to create a pipeline fro each of my applications.
Docker-compose doesn't support swarms the same way, you'll be able to make different deployment specific changes. It just takes the docker-compose file and appends to the stack.
Sorry for the late response.
I'm using Exoframe github.com/exoframejs/exoframe
It's a free/open source alternative to now.sh basically
I've combined it to my CI to make continuous deployment and I love it :)
I'm using Mina deployment with Codeship service, easy and fast to setup.