Files
collabora/compose.yml
T
renovate-bot ea5b56a36b
continuous-integration/drone/push Build is failing
chore(deps): update nginx docker tag to v1.31.8 (#23)
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| nginx | patch | `1.31.6` -> `1.31.8` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #23
Reviewed-by: stevensting <156+stevensting@noreply.git.coopcloud.tech>
Co-authored-by: Renovate Bot <renovate@coopcloud.tech>
2026-10-24 13:38:21 +00:00

86 lines
2.2 KiB
YAML

---
version: "3.8"
services:
web:
image: "nginx:1.31.8"
environment:
- STACK_NAME
- DOMAIN=${DOMAIN}
configs:
- source: nginx_conf
target: /etc/nginx/nginx.conf
networks:
- proxy
- internal
deploy:
update_config:
failure_action: rollback
labels:
- "traefik.enable=true"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
healthcheck:
test:
[
"CMD-SHELL",
"curl -s -N localhost/hosting/capabilities | grep Collabora",
]
interval: 30s
timeout: 10s
retries: 10
start_period: 5m
app:
image: "collabora/code:26.04.5.2.1"
cap_add:
- MKNOD
secrets:
- admin_password
healthcheck:
test: ["CMD", "/usr/bin/coolwsd", "--probe"]
interval: 30s
timeout: 10s
retries: 3
configs:
- source: coolwsd_xml
target: /etc/coolwsd/coolwsd.xml
uid: "1001" # cool user
gid: "1001" # cool user
environment:
- ADMIN_USERNAME
- DOMAIN=${DOMAIN}
- DONT_GEN_SSL_CERT=true
- NEXTCLOUD_DOMAIN=${NEXTCLOUD_DOMAIN}
- FRAME_ANCESTORS
- DICTIONARIES=${DICTIONARIES:-de_DE en_GB en_US es_ES fr_FR it nl pt_BR pt_PT}
- extra_params=--o:ssl.enable=false --o:ssl.termination=true ${COLLABORA_ENV_PARAMS}
networks:
- internal
deploy:
labels:
- "coop-cloud.${STACK_NAME}.version=5.2.0+26.04.4.2.1"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
networks:
proxy:
external: true
internal:
secrets:
admin_password:
external: true
name: ${STACK_NAME}_admin_password_${SECRET_ADMIN_PASSWORD_VERSION}
configs:
nginx_conf:
name: ${STACK_NAME}_nginx_conf_${NGINX_CONF_VERSION}
file: nginx.conf.tmpl
template_driver: golang
coolwsd_xml:
name: ${STACK_NAME}_coolwsd_xml_${COOLWSD_XML_VERSION}
file: coolwsd.xml.tmpl
template_driver: golang