diff --git a/compose.yml b/compose.yml index dceb0ea..5298621 100644 --- a/compose.yml +++ b/compose.yml @@ -3,7 +3,7 @@ version: "3.8" services: web: - image: "nginx:1.25.4" + image: "nginx:1.27.0" environment: - STACK_NAME - DOMAIN=${DOMAIN} @@ -22,13 +22,25 @@ services: - "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:23.05.10.1.1" + image: "collabora/code:24.04.6.1.1" cap_add: - MKNOD secrets: - admin_password + healthcheck: + test: ["CMD", "curl", "-f", "http://localhost:9980"] + interval: 30s + timeout: 10s + retries: 10 + start_period: 2m configs: - source: coolwsd_xml target: /etc/coolwsd/coolwsd.xml @@ -44,7 +56,7 @@ services: - internal deploy: labels: - - "coop-cloud.${STACK_NAME}.version=2.7.1+23.05.10.1.1" + - "coop-cloud.${STACK_NAME}.version=3.0.0+24.04.6.1.1" networks: proxy: