docker stack is my new favorite way to deploy to a VPS
Chapters
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
Science & Technology