Files
lasuite-drive/abra.sh
notplants 9e4c194783
All checks were successful
cc-ci/testme cc-ci: success
create minio bucket automatically on startup (minio-initialize.sh)
Replace the one-shot minio-createbuckets service (which required a
manual 'abra app restart minio-createbuckets' that appeared to hang)
with a minio-initialize.sh config, ported from lasuite-docs. The minio
service entrypoint runs it in the background before starting minio; it
waits for minio to be ready and idempotently creates the
drive-media-storage bucket with versioning. Manual trigger:
'abra app cmd minio minio_initialize'.
2026-06-23 19:26:19 +00:00

28 lines
557 B
Bash
Executable File

# Set any config versions here
# Docs: https://docs.coopcloud.tech/maintainers/handbook/#manage-configs
export ABRA_ENTRYPOINT_VERSION=v11
export NGINX_CONF_VERSION=v6
export ONLYOFFICE_CONF_VERSION=v2
export PG_BACKUP_VERSION=v4
export MIGRATE_VERSION=v1
export MINIO_INITIALIZE_VERSION=v1
environment() {
# this exports all the secrets as environment variables
source /abra-entrypoint.sh -e
}
migrate() {
/migrate.sh
}
minio_initialize() {
/minio-initialize.sh
}
trigger_wopi() {
environment
python manage.py trigger_wopi_configuration
}