DEV Community

Cover image for Show me your deployment

Show me your deployment

Michael Kaserer on July 07, 2019

Hey folks! last week I published my own opinionated & minimalist JavaScript full-stack starter-kit on GitHub: JavaScript Full-Stack...
Collapse
 
marklai1998 profile image
Mark Lai

Serverless is one of the way to do it
But personally I use AWS codebuild+codedepoly to s3 and elasticBS

Collapse
 
marklai1998 profile image
Mark Lai

Serverless:
serverless.com/

Collapse
 
ambroseus profile image
Eugene Samonenko

+1: mono repo with lerna + AWS codebuld + s3 + AWS cloudfront

Collapse
 
chrisjust profile image
Chris Justesen

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?

Collapse
 
mikas profile image
Michael Kaserer

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?

Collapse
 
chrisjust profile image
Chris Justesen

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.

Collapse
 
maxime1992 profile image
Maxime

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 :)

Collapse
 
jackfiallos profile image
Jackfiallos

I'm using Mina deployment with Codeship service, easy and fast to setup.