add pdf.viktorbarzin.me -> paperless-ngx [ci skip]
This commit is contained in:
parent
d797590a88
commit
ae2e582af6
2 changed files with 18 additions and 2 deletions
|
|
@ -76,8 +76,8 @@ resource "kubernetes_deployment" "paperless-ngx" {
|
|||
value = var.db_password
|
||||
}
|
||||
env {
|
||||
name = "PAPERLESS_URL"
|
||||
value = "https://paperless-ngx.viktorbarzin.me"
|
||||
name = "PAPERLESS_CSRF_TRUSTED_ORIGINS"
|
||||
value = "https://paperless-ngx.viktorbarzin.me,https://pdf.viktorbarzin.me"
|
||||
}
|
||||
env {
|
||||
name = "PAPERLESS_DEBUG"
|
||||
|
|
@ -166,5 +166,21 @@ resource "kubernetes_ingress_v1" "paperless-ngx" {
|
|||
}
|
||||
}
|
||||
}
|
||||
rule {
|
||||
host = "pdf.viktorbarzin.me"
|
||||
http {
|
||||
path {
|
||||
path = "/"
|
||||
backend {
|
||||
service {
|
||||
name = "paperless-ngx"
|
||||
port {
|
||||
number = 8000
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue