Add AFFiNE visual canvas for storytelling
- Deploy AFFiNE as self-hosted visual canvas tool - Uses shared PostgreSQL and Redis from cluster - NFS storage for uploads and configuration - Email configured via mailserver.viktorbarzin.me - Ingress at affine.viktorbarzin.me [ci skip]
This commit is contained in:
parent
5ded70c1ab
commit
e85c0365cd
3 changed files with 250 additions and 5 deletions
10
main.tf
10
main.tf
|
|
@ -139,6 +139,10 @@ variable "freedify_credentials" { type = map(any) }
|
|||
variable "mcaptcha_postgresql_password" { type = string }
|
||||
variable "mcaptcha_cookie_secret" { type = string }
|
||||
variable "mcaptcha_captcha_salt" { type = string }
|
||||
variable "openrouter_api_key" { type = string }
|
||||
variable "slack_bot_token" { type = string }
|
||||
variable "slack_channel" { type = string }
|
||||
variable "affine_postgresql_password" { type = string }
|
||||
|
||||
provider "kubernetes" {
|
||||
config_path = var.prod ? "" : "~/.kube/config"
|
||||
|
|
@ -570,6 +574,12 @@ module "kubernetes_cluster" {
|
|||
mcaptcha_postgresql_password = var.mcaptcha_postgresql_password
|
||||
mcaptcha_cookie_secret = var.mcaptcha_cookie_secret
|
||||
mcaptcha_captcha_salt = var.mcaptcha_captcha_salt
|
||||
|
||||
openrouter_api_key = var.openrouter_api_key
|
||||
slack_bot_token = var.slack_bot_token
|
||||
slack_channel = var.slack_channel
|
||||
|
||||
affine_postgresql_password = var.affine_postgresql_password
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue