No description
Find a file
2024-07-28 14:04:54 +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 wg 2024-07-28 14:04:54 +02:00
playbooks cleanup 2024-07-27 10:22:53 +02:00
scripts things 2024-07-01 20:24:00 +02:00
secrets add minio 2024-07-28 12:28:15 +02:00
tf-infra Delete tf-infra/aws/state.sh 2024-07-15 10:19:24 +02:00
vps2 :tom: 2024-07-26 23:29:32 +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 wg 2024-07-28 14:04:54 +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.