fix(infra): simplify Gitea to SQLite + in-process — drop PostgreSQL and Valkey
Removes 6 pods (3x postgresql-ha, 1x pgpool, 2x valkey-cluster) in favour of SQLite (database) and leveldb queue, memory cache/session. Appropriate for a single-user homelab instance with no HA requirements. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
3c981b6ba4
commit
dee8b5b40a
@ -32,12 +32,19 @@ resource "helm_release" "gitea" {
|
|||||||
SSH_DOMAIN = "localhost"
|
SSH_DOMAIN = "localhost"
|
||||||
SSH_PORT = 30001
|
SSH_PORT = 30001
|
||||||
}
|
}
|
||||||
|
database = { DB_TYPE = "sqlite3" }
|
||||||
|
queue = { TYPE = "level" }
|
||||||
|
cache = { ADAPTER = "memory" }
|
||||||
|
session = { PROVIDER = "memory" }
|
||||||
packages = { ENABLED = "true" }
|
packages = { ENABLED = "true" }
|
||||||
service = { DISABLE_REGISTRATION = "true" }
|
service = { DISABLE_REGISTRATION = "true" }
|
||||||
log = { LEVEL = "Warn" }
|
log = { LEVEL = "Warn" }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"postgresql-ha" = { enabled = false }
|
||||||
|
"valkey-cluster" = { enabled = false }
|
||||||
|
|
||||||
ingress = {
|
ingress = {
|
||||||
enabled = true
|
enabled = true
|
||||||
className = "traefik"
|
className = "traefik"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user