Skip to content

Commit

Permalink
Work in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
skhaz committed Jun 5, 2024
1 parent a554d99 commit d2bea1a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ Typically, I use serverless for my personal projects because they scale to zero,
- [BunnyCDN](https://bunny.net/) for cotent delivery
- [Papertrail](https://www.papertrail.com/) for logging

Deployment is done using Docker Compose, via SSH using the DOCKER_HOST environment variable pointing directly to a Raspberry Pi that I had bought and never used before. Now it saves me $5 per month, and I can keep a limited number of projects running on it.
Deployment is done using Docker Compose, via SSH using the DOCKER_HOST environment variable pointing directly to a [Raspberry Pi](https://www.raspberrypi.com/) that I had bought and never used before. Now it saves me $5 per month, and I can keep a limited number of projects running on it.

And then you might ask: How do you expose it to the internet? I use [Cloudflare Tunnel](https://www.cloudflare.com/products/tunnel/); the setup is simple and creates a direct connection between the Raspberry Pi and the nearest PoP.
And then you might ask: How do you expose it to the internet? I use [Cloudflare Tunnel](https://www.cloudflare.com/products/tunnel/); the setup is simple and creates a direct connection between the Raspberry Pi and the nearest [Point of Presence](https://en.wikipedia.org/wiki/Point_of_presence).

This type of hosting is extremely advantageous because the server's IP and/or ports are never revealed; it stays behind my firewall. Everything goes through Cloudflare.

Expand Down

0 comments on commit d2bea1a

Please sign in to comment.