johnHackworth / goblin

GNU Affero General Public License v3.0
46 stars 4 forks source link

Dockerfile v2 #85

Closed analytik closed 5 months ago

analytik commented 5 months ago

Here we go again? Updated to latest commit d2a6f73d3d50f39aba3d8e9360e17b1c54a0a521

Turns out the 2 wrong files were just incorrect auto-merge, resolved by using your version of those two files, and then running pnpm run lint as always.

Version is currently running at https://goblin.stopdelaying.com - please feel free to test the new features there before merging

analytik commented 5 months ago

Also: I haven't changed anything else manually since the last PR. Ran pnpm update and pnpm prune and pnpm run lint and pnpm build.

Build log here

johnHackworth commented 5 months ago

ok, tested and everything works fine when you run it as usual... still, I have idea about how to run the dockerized version :D

analytik commented 5 months ago

aaaaaah thank you

If you ever want to try it out, let me know if you OS you're on, with either Windows + WSL or Linux or Mac + Brew, it should be possible to install a small k8s cluster locally. WSL is, surprisingly, very useful for this as you can shut it down at any moment, and don't have to bother will allocating dedicated VM RAM.

I might create a guide in a separate PR, but short version is 1. install Debian/Ubuntu/etc in WSL -> 2. install Docker locally. 3. Install Snap and with it, Microk8s, and then 4. create a few services with the manifest files (kubectl create -f ...yaml).

I always have the remote server to act as the persistent K8s cluster, but conceptually it should work the same on laptop, give or take figuring out which IP address it will be accessible on. Also not sure how much it would mess up with federation data to create short-lived dev env instances, although probably there's some default filtering so that local IP addresses can't join the fediverse.