No description
Find a file
2024-07-26 21:11:18 +02:00
.github/workflows things 2024-07-01 20:24:00 +02:00
apps Prometheus 2024-03-31 16:29:02 +02:00
ci fix name 2023-09-05 20:27:29 +02:00
misc add gh actions job to run playbook 2023-09-03 11:30:23 +02:00
newinfra dns 2024-07-26 21:11:18 +02:00
playbooks hostname 2024-07-01 20:51:53 +02:00
scripts things 2024-07-01 20:24:00 +02:00
secrets move openolat 2024-02-03 17:24:06 +01:00
tf-infra Delete tf-infra/aws/state.sh 2024-07-15 10:19:24 +02:00
vps1 add eepy 2024-07-01 20:48:27 +02:00
vps2 Update tom 2024-07-06 15:38:12 +02:00
.envrc nix 2023-11-19 12:42:34 +01:00
.gitattributes start git-crypt 2023-08-28 14:13:58 +02:00
.gitignore move openolat 2024-02-03 17:24:06 +01:00
debug.html move 2023-08-27 14:38:05 +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 init new infra 2024-07-26 18:19:18 +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.