A SaaS that compiles into one binary does not need a deployment platform. It
needs a server, a proxy that gets certificates, and a backup you have
restored at least once.
Here is the complete setup, in the order you would actually do it.
What you are building
Internet β :80 / :443 ββββββΌββββββ Let's Encrypt certificates, HTTPβHTTPS β Traefik β ββββββ¬ββββββ β docker network "traefik" ββββββΌββββββ one process: API + embedded Vue app + job worker β app β ββββββ¬ββββββ β ββββββΌββββββ not exposed to the internet β postgres β ββββββββββββ
Enter fullscreen mode
Exit fullscreen mode
Two containers you wrote nothing for, one that is your product. A 1 vCPU /
2 GB server runs this comfortably at the start.
Step 1: the server and DNS
Any provider works; for EU data residency, Hetzner, Scaleway and OVHcloud are
the usual answers.β¦