[ci skip] onlyoffice: revert font cache NFS mounts, rebuild on startup
NFS font caching caused issues. Reverted to default GENERATE_FONTS=true with 8 CPU burst limit for fast regeneration on startup.
This commit is contained in:
parent
27e59a6af0
commit
35822e9207
1 changed files with 0 additions and 20 deletions
|
|
@ -142,24 +142,11 @@ resource "kubernetes_deployment" "onlyoffice-document-server" {
|
|||
name = "JWT_SECRET"
|
||||
value = var.onlyoffice_jwt_token
|
||||
}
|
||||
env {
|
||||
name = "GENERATE_FONTS"
|
||||
value = "false"
|
||||
}
|
||||
|
||||
volume_mount {
|
||||
name = "data"
|
||||
mount_path = "/var/www/onlyoffice/Data"
|
||||
}
|
||||
volume_mount {
|
||||
name = "font-cache"
|
||||
mount_path = "/var/www/onlyoffice/documentserver/fonts"
|
||||
}
|
||||
volume_mount {
|
||||
name = "font-cache"
|
||||
mount_path = "/var/www/onlyoffice/documentserver/sdkjs/common/Images"
|
||||
sub_path = "images"
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "data"
|
||||
|
|
@ -168,13 +155,6 @@ resource "kubernetes_deployment" "onlyoffice-document-server" {
|
|||
server = var.nfs_server
|
||||
}
|
||||
}
|
||||
volume {
|
||||
name = "font-cache"
|
||||
nfs {
|
||||
path = "/mnt/main/onlyoffice-cache"
|
||||
server = var.nfs_server
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue