No description
Find a file
2023-08-29 09:51:11 +02:00
.github/workflows support cors ci 2023-08-27 12:14:12 +02:00
apps/registry vps1 2023-08-27 17:07:08 +02:00
ci fix cors build 2023-08-27 12:18:25 +02:00
playbooks hugochat volume 2023-08-28 15:22:22 +02:00
secrets karin secrets 2023-08-28 14:58:25 +02:00
vps1 remove dummy from vps1 2023-08-29 09:51:11 +02:00
vps2 mount cors db from host 2023-08-29 09:47:15 +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 start git-crypt 2023-08-28 14:13:58 +02:00
inventory.yml vps1 2023-08-27 17:07:08 +02:00
README.md store karin data on host fs 2023-08-28 15:12:05 +02:00
run.sh vps1 2023-08-27 17:07:08 +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.