Compare commits
1 Commits
0.5.0+v0.1
...
0.6.0+v0.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a9e85a114 |
@ -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
|
||||
2
abra.sh
2
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
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user