zrail,
@zrail@hachyderm.io avatar

After struggling for too long to get my site up and running on versions of Ruby and Sinatra less than a decade old I decided to explore other options.

As of 5 minutes ago https://www.petekeen.net is generated with https://lume.land (/ht @cadey ) and served with Nginx from the server in my basement.

zrail,
@zrail@hachyderm.io avatar

I tried to make the build and release process as simple as possible without writing any software.

  1. GitHub Actions picks up changes which...

  2. Builds a two stage Docker container. First stage builds the site, second copies the result into nginx:alpine-slim with a cut down config.

  3. Watchtower cycles every 30 seconds on a VM on the basement server. When it sees a new version it pulls and recreates the container.

  4. Nginx running in @flydotio connects to the container via @tailscale

webology,
@webology@mastodon.social avatar

@zrail Watchtower has boringly just worked for me for this, too. I set mine to 2 minutes because I'm running a dozen+ websites being polled.

I like your idea about using fly to proxy in. I have used Tailscale's funnels for a few projects, mostly to allow GitHub to access it. I should probably re-think that.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • selfhosted
  • GTA5RPClips
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • Durango
  • cubers
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ngwrru68w68
  • kavyap
  • tacticalgear
  • ethstaker
  • JUstTest
  • InstantRegret
  • Leos
  • normalnudes
  • everett
  • khanakhh
  • osvaldo12
  • cisconetworking
  • modclub
  • anitta
  • tester
  • megavids
  • provamag3
  • lostlight
  • All magazines