Hey everyone! I've built a small website using a Vite/Vue frontend and a Rust backend, running it locally with Nginx, Docker Compose, and a PostgreSQL database. So far, everything's working great on my local setup. But now, I'm looking to host it publicly for the first time and I'm a bit out of my element since I usually deal with bare metal setups. I don't expect much traffic—maybe less than 50 users a year—and my database is small with only a few tables (less than 100 rows). I'd like to use the Dockerfiles I've already created. What services do you recommend for hosting, and how can I get a URL for my site? Thanks for any tips!
9 Answers
Another option is to run it locally and use Cloudflare Tunnels to make your site public. It's a neat workaround if you're comfortable managing your local setup.
Linode is also a solid choice if you're looking for reliable hosting, and they offer various plans too!
I've been using the Oracle always free tier for small apps. It works pretty well for hosting and gives you a capable cloud server.
You could consider Digital Ocean or Hetzner. They're reasonably priced, and I run similar setups on both. Hetzner, for instance, has plans starting at about $6 a month.
It really depends on your security comfort level. I run mine on a home lab in an Alpine Linux container on its own dedicated VLAN. If you're unsure about security, I'd recommend renting a server.
If you're used to working with bare metal, why not rent a VPS and run your site there? Smaller hosting providers can be a good fit.
You might want to check out AWS Amplify. It's great for small sites and offers a free tier that could suit your needs!
Does AWS Amplify let you run multiple connected Docker containers?
Check out interserver.net – they have Linux VPS systems for $3/month. You can load Nginx and get a public IP! For registering a domain, WHOIS.COM has options for just $3/year. So for around $20 a year, you can own your own website. Just my two cents!
I host my website on a Raspberry Pi 5 with 4GB of RAM. It's a neat little setup if you're looking for something affordable and hands-on.

Ah, I come from a microcontroller background, so I usually avoid running things inside an OS.