Get your own VPS with 2 vCPU Cores, 8 GB RAM and 100 GB NVMe Disk space for just $5.99 per month with the KVM2 plan from Hostinger. Get an extra 10% off with the code DREAMSOFCODE by visiting https://hostinger.com/dreamsofcode
For the most part, I've been using Docker compose for my production deployments, and whilst it's worked, there's been a couple of things I wish were improved.
Fortunately, I recently discovered docker stack, which not only solves the issues I've had with docker compose, but brings about a bunch other production ready features.
This video is sponsored by hostinger.
Links:
- Zenstats Github: https://github.com/dreamsofcode-io/zenstats
- VPS Guide: https://github.com/dreamsofcode-io/zenstats/blob/main/docs/vps-setup.md
- Docker stack docs: https://docs.docker.com/reference/cli/docker/stack/
My Upcoming Course: https://dreamsofcode.io/courses/command-line-apps-go 👈
Join this channel to get access to perks:
https://www.youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join
Join Discord: https://discord.com/invite/eMjRTvscyt
Join Twitter: https://twitter.com/dreamsofcode_io
00:00:00 Intro
00:03:53 Getting Started
00:05:36 Sponsor / VPS
00:07:11 VPS Set up
00:09:02 Remote Deployments
00:11:43 Private Images
00:12:13 Remote Compose
00:13:34 Secrets
00:15:57 Rolling Release / Blue Green
00:17:48 Load balancing
00:18:32 Traefik
00:19:33 Rollbacks
00:20:20 Automated Deployments