From aa90d66815f2f948d1842afa9746ec8a293df593 Mon Sep 17 00:00:00 2001 From: CoolnsX Date: Sun, 29 Jun 2025 20:22:35 +0530 Subject: [PATCH] feat: hugepages in postgres and collabora changes --- collabora/collabora.container | 2 +- matrix/synapse_db.container | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/collabora/collabora.container b/collabora/collabora.container index a5b9908..ac088fd 100644 --- a/collabora/collabora.container +++ b/collabora/collabora.container @@ -11,7 +11,7 @@ Image=docker.io/collabora/code:latest # Enable auto-update container AutoUpdate=registry # pass this to attach it to container -Environment=extra_params="--o:remote_font_config.url=${CLOUD}/apps/richdocuments/settings/fonts.json --o:ssl.enable=false --o:ssl.termination=true --o:net.post_allow.host[0]=160.202.39.[0-9]{1,3} --o:net.post_allow_host[1]=100.64.0.[0-9]{1,3} --o:per_document.max_concurrency=12 --o:num_prespawn_children=12" +Environment=extra_params="--o:ssl.enable=false --o:ssl.termination=true --o:net.post_allow.host[0]=160.202.39.[0-9]{1,3} --o:net.post_allow_host[1]=100.64.0.[0-9]{1,3} --o:per_document.max_concurrency=12 --o:num_prespawn_children=12 --o:net.frame_ancestors=${CLOUD}" Environment=aliasgroup1=${CLOUD}:443 Environment=domain1=${CLOUD}:443 Environment=DONT_GEN_SSL_CERT=true diff --git a/matrix/synapse_db.container b/matrix/synapse_db.container index 5b4c41e..22bee1b 100644 --- a/matrix/synapse_db.container +++ b/matrix/synapse_db.container @@ -5,7 +5,7 @@ Description=Synapse Database Container Pod=nginx-proxy.pod ContainerName=synapse_db Image=docker.io/library/postgres:alpine -Exec=postgres -c unix_socket_directories='/var/run/postgresql/,/tmp/matrix/' -c unix_socket_permissions=0770 +Exec=postgres -c unix_socket_directories='/var/run/postgresql/,/tmp/matrix/' -c unix_socket_permissions=0770 -c shared_buffers=2GB -c work_mem=64MB -c effective_cache_size=4GB # Enable auto-update container AutoUpdate=registry