Feat: updated config to use nginx instead of nginx proxy manager

This commit is contained in:
CoolnsX
2025-08-20 23:55:52 +05:30
parent ce1c255957
commit 79a00d6fe0
7 changed files with 16 additions and 17 deletions

View File

@@ -1,17 +1,15 @@
[Unit]
Description=Collabora Container
Requires=nginx-proxy.service
After=nginx-proxy.service
[Container]
Pod=nginx-proxy.pod
Network=host
ContainerName=collabora
Image=docker.io/collabora/code:latest
# Enable auto-update container
AutoUpdate=registry
# pass this to attach it to container
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=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=aliasgroup1=${CLOUD}:443
Environment=domain1=${CLOUD}:443
Environment=DONT_GEN_SSL_CERT=true