feat: add initial postgres

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
2026-01-18 17:23:09 +01:00
parent 1904654a06
commit e0d6172e21
7 changed files with 1406 additions and 76 deletions

View File

@@ -8,3 +8,15 @@ run = "cargo nextest run"
[tasks.example]
alias = "e"
run = "cargo run --bin kubernetes-like"
[tasks."example:postgres"]
run = "cargo run --bin postgres-backed"
[tasks."local:up"]
run = "docker compose -f ./templates/docker/docker-compose.yml up -d --remove-orphans --wait"
[tasks."local:down"]
run = "docker compose -f ./templates/docker/docker-compose.yml down"
[tasks."local:logs"]
run = "docker compose -f ./templates/docker/docker-compose.yml logs -f --tail=500"