No description
Find a file
2023-09-17 16:05:07 +02:00
.github/workflows openolat 2023-09-05 20:27:29 +02:00
apps add olat to uptime 2023-09-05 21:08:23 +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
playbooks copy uptime json 2023-09-05 21:17:03 +02:00
secrets openolat 2023-09-05 20:27:29 +02:00
vps1 update for host fix 2023-09-05 20:27:29 +02:00
vps2 update cors 2023-09-17 16:05:07 +02:00
.gitattributes start git-crypt 2023-08-28 14:13:58 +02:00
.gitignore die eagerly 2023-02-09 21:46:21 +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
flake.lock Start ansible 2023-08-25 21:47:12 +02:00
flake.nix remove python 2023-08-29 10:41:51 +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

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.