• 0 Posts
  • 15 Comments
Joined 1Y ago
cake
Cake day: Jun 17, 2023

help-circle
rss

Maybe it’s time to go to the court house and change their name to Lua?


I imagine you are using k8s because you want to learn the platform.

In a real cluster with multiple machines, you don’t know which machine will run your container (that’s the point of clusters).

Do you need to host your files on a storage server and link these files to the containers through nfs.

See this post for an example on his to do it.


If you enable Tailscale DNS, you can even mount the share using the host subdomain instead of using the ip address.


My advice would be to have the server running on the cluster serving the static folder mounted through a network drive in the container. Then you just need to sync the content to the drive as the last step in your CI.

Alternatively, you will need to bake the static content in the container but then you will have to host it somewhere for the closer to get.


I would suggest using Tailscale. It’s an app that runs on your local and remote computers. You log in with your google account, get a special up address that starts with 100.x.x.x. Then you use the special IP address to connect through ssh or mount a volume through samba.


Fair enough. If you want to self host, you can go with forgjo as your web ui and forgjo CI/woodpecker CI for building and deploying the site.

I don’t know of any other self-hostable way to build and push a static site. There was forestry but they discontinued it for a paid service.


You can do all of the through GitHub and GitHub actions by picking a static website generator.


I think so? I don’t use it on windows so I don’t know how it works there. All other places I used it you can set it up as a daemon or as a startup app.


It will be fine. If two computers are on the same lan, they will connect directly using your local network. If they are on two different networks, they will reroute through their network.


Yes. It’s a default option for Tailscale. You just need to run the Tailscale client on the server with the exit node option, enable it in the web portal, and then tell your phone to use the exit node.


That why you should never date someone who only codes in COBOL.


It works for roller coasters, it will work for my crappy website. By the way, isn’t it what rails is??


At least for mastodon, you should be able to subscribe to a relay server to push posts to your instance. I’m not sure if there are open ones. Last time I checked, I couldn’t find one still working (ping me if you find one).

A relay server will push all the messages it knows about to your server so your federated timeline will be less empty.

The organic way to do it is to follow as many accounts as you can and wait for their boosts to come through your instance. The only problem with it is that you usually get the parent posts a a few replies and you will miss 90% of the conversation.



I use porkbun.

The prices are similar to google domains and the dns management interface is ok.