No description
Find a file
2025-03-21 19:08:26 +01:00
.github/workflows hugo 2024-08-02 18:12:12 +02:00
apps/openolat cleanup 2024-08-08 16:31:07 +02:00
ci hugo 2024-08-02 18:12:12 +02:00
misc add gh actions job to run playbook 2023-09-03 11:30:23 +02:00
newinfra update 2025-03-21 19:08:26 +01:00
playbooks killua 2024-08-08 16:46:41 +02:00
scripts things 2024-07-01 20:24:00 +02:00
secrets killua 2024-08-08 16:46:41 +02:00
tf-infra/aws no more contabo terraform 2024-08-02 18:21:18 +02:00
vps2 killua 2024-08-08 16:46:41 +02:00
.envrc nix 2023-11-19 12:42:34 +01:00
.gitattributes add minio 2024-07-28 12:28:15 +02:00
.gitignore move openolat 2024-02-03 17:24:06 +01:00
debug.html cleanup 2024-07-27 10:22:53 +02:00
Dockerfile.test test dockerfile 2023-08-26 21:29:40 +02:00
README.md store karin data on host fs 2023-08-28 15:12:05 +02:00
run.sh move inventory 2023-09-03 11:31:51 +02:00
shell.nix compress and etag 2024-08-05 22:43:46 +02:00

Infra setup

TODOS

There are many todos here. First, grep this codebase for todo. In addition to that:

  • backups
  • data replication across the two servers. i have two servers, let's use that power. maybe rsync or something like that?

server??

Each VPS has a caddy running on the host, not inside docker. It's the entrypoint to the stuff. Everything else runs in a docker container via docker compose.

extra setup

every app needs some secrets in places.

there are also "global secrets" used for the docker-compose, for example for env vars. those should be placed in /apps/.env.

Right now the global secrets are

KILLUA_BOT_TOKEN=
HUGO_CHAT_DB_PASSWORD=

things that shall not be forgotten

there once was some custom k8s cluster setup in ./k8s-cluster. it was incomplete and pretty cursed.

also some kubernetes config in ./kube. why.

gloriously not great docker configs in ./docker.

nginx, registry with config for the two.

run_scripts with not good scripts for starting containers.