Compare commits

...

2 Commits

Author SHA1 Message Date
0ca2ab2401 minecraft
All checks were successful
Apply Kuberentes Configs / update-repo (push) Successful in 1s
Apply Kuberentes Configs / update-infrastructure (push) Successful in 3s
Apply Kuberentes Configs / notify-on-failure (push) Has been skipped
2026-03-07 19:53:46 -07:00
d24a905516 more elixir dev tools 2026-03-05 12:31:49 -07:00
3 changed files with 59 additions and 20 deletions

View File

@@ -0,0 +1,21 @@
name: Apply Kuberentes Configs
on: [workflow_dispatch]
jobs:
update-repo:
uses: ./.gitea/workflows/update-repo.yml
runs-on: home-server
update-infrastructure:
runs-on: home-server
needs: update-repo-folder
env:
KUBECONFIG: /home/gitea-runner/.kube/config
defaults:
run:
working-directory: /home/gitea-runner/infrastructure
steps:
- name: update home server containers
run: |
for file in kubernetes/minecraft/*.yml; do
cat "$file" | envsubst | kubectl apply -f -
done

View File

@@ -66,6 +66,38 @@ spec:
memory: "6Gi" memory: "6Gi"
limits: limits:
memory: "8Gi" memory: "8Gi"
- name: minecraft-cobblemon
image: itzg/minecraft-server:java21
stdin: true
tty: true
env:
- name: EULA
value: "true"
- name: TYPE
value: "AUTO_CURSEFORGE"
- name: CF_SLUG
value: "cobblemon-fabric"
- name: CF_API_KEY
value: "$CF_API_KEY"
- name: MEMORY
value: "4G"
- name: SERVER_PORT
value: "2222"
- name: RCON_PORT
value: "25576"
- name: CF_OVERRIDES_EXCLUSIONS
value: |
# Not applicable for server side
shaderpacks/**
resourcepacks/**
volumeMounts:
- name: cobblemon-data
mountPath: /data
resources:
requests:
memory: "4Gi"
limits:
memory: "6Gi"
volumes: volumes:
- name: minecraft-data - name: minecraft-data
hostPath: hostPath:
@@ -83,18 +115,7 @@ spec:
hostPath: hostPath:
path: /dev/net/tun path: /dev/net/tun
type: CharDevice type: CharDevice
--- - name: cobblemon-data
# apiVersion: v1 hostPath:
# kind: Service path: /data/minecraft/cobblemon-data
# metadata: type: DirectoryOrCreate
# name: minecraft
# namespace: minecraft
# spec:
# selector:
# app: minecraft
# ports:
# - name: minecraft
# protocol: TCP
# port: 25565
# targetPort: 25565
# type: ClusterIP

View File

@@ -4,16 +4,11 @@
vscode-fhs vscode-fhs
gnome-software gnome-software
gnome-tweaks gnome-tweaks
# nvtopPackages.nvidia
nerd-fonts.fira-code nerd-fonts.fira-code
nerd-fonts.droid-sans-mono nerd-fonts.droid-sans-mono
# fira-code
# (nerdfonts.override { fonts = [ "FiraCode" "DroidSansMono" ]; })
kubernetes-helm kubernetes-helm
busybox busybox
ghostty ghostty
elixir_1_18
inotify-tools # needed for elixir hot-reloading
nodejs_24 nodejs_24
pnpm pnpm
legcord legcord
@@ -28,6 +23,8 @@
elixir elixir
elixir-ls elixir-ls
inotify-tools
watchman
]; ];
programs.ghostty = { programs.ghostty = {