feat: hugepages in postgres and collabora changes

This commit is contained in:
CoolnsX
2025-06-29 20:22:35 +05:30
parent 12622b9091
commit aa90d66815
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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