From 3a9e85a114ecb26a951715fbb849b531cc4c0391 Mon Sep 17 00:00:00 2001 From: notplants Date: Wed, 18 Feb 2026 14:38:22 +0000 Subject: [PATCH] bump to 0.6.0+v0.12.0 --- abra-entrypoint.sh | 7 +++++++ abra.sh | 2 +- compose.yml | 3 ++- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/abra-entrypoint.sh b/abra-entrypoint.sh index c795941..90fcc0b 100644 --- a/abra-entrypoint.sh +++ b/abra-entrypoint.sh @@ -11,5 +11,12 @@ set -e # if not in "env" mode, then execute the original entrypoint and command if [ ! "$1" = "-e" ]; then + # Run WOPI configuration on startup if enabled (celery worker service only). + # This ensures WOPI clients are configured immediately after each deploy, + # rather than waiting for the next celery-beat cron tick (default: 3 AM). + if [ "${RUN_WOPI_ON_STARTUP:-}" = "true" ]; then + echo "🐳(entrypoint) running WOPI configuration on startup..." + python manage.py trigger_wopi_configuration || echo "⚠ WOPI configuration failed (non-fatal, will retry on schedule)" + fi exec "$@" fi \ No newline at end of file diff --git a/abra.sh b/abra.sh index 7ad3998..9d8e479 100755 --- a/abra.sh +++ b/abra.sh @@ -1,6 +1,6 @@ # Set any config versions here # Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs -export ABRA_ENTRYPOINT_VERSION=v5 +export ABRA_ENTRYPOINT_VERSION=v7 export NGINX_CONF_VERSION=v6 export ONLYOFFICE_CONF_VERSION=v2 export PG_BACKUP_VERSION=v3 diff --git a/compose.yml b/compose.yml index fe19c2b..3fbafe2 100644 --- a/compose.yml +++ b/compose.yml @@ -99,7 +99,7 @@ services: labels: - "traefik.enable=false" - "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}" - - "coop-cloud.${STACK_NAME}.version=0.5.0+v0.12.0" + - "coop-cloud.${STACK_NAME}.version=0.6.0+v0.12.0" environment: <<: [ *common-env ] healthcheck: @@ -144,6 +144,7 @@ services: entrypoint: ["/abra-entrypoint.sh", "/usr/local/bin/entrypoint"] environment: <<: [*common-env, *postgres-env] + RUN_WOPI_ON_STARTUP: "true" configs: - source: abra_entrypoint target: /abra-entrypoint.sh