create minio bucket automatically on startup (minio-initialize.sh) #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "pr-20260623-193109"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Port the automatic startup automation from lasuite-docs to lasuite-drive, so first-time deploys no longer require manual post-deploy steps.
Changes:
Auto-migrations (migrate.sh): The backend entrypoint now runs
/migrate.shwhenAUTO_MIGRATIONS=true(default). It loads secrets, waits for the DB, and idempotently applies pending Django migrations (migrate --check→migrate --noinput). The manualabra app cmd backend migratenow delegates to the same script.Auto minio bucket creation (minio-initialize.sh): Replaces the one-shot
minio-createbucketsservice (which required a manualabra app restart minio-createbucketsthat appeared to hang) with aminio-initialize.shconfig. The minio service entrypoint runs it in the background before starting minio; it waits for minio to be ready and idempotently creates thedrive-media-storagebucket with versioning. Manual trigger:abra app cmd minio minio_initialize.Tested on cctest: all recipe tests pass — health check (HTTP 200), WOPI discovery (Collabora + OnlyOffice), WOPI-on-startup, and full OIDC login flow via Keycloak.
cc @trav @notplants
!testme
🌻 cc-ci —
lasuite-drive@9e4c1947✅ passedfull logs · dashboard
Auto-closed by /recipe-upgrade: its changes are already in upstream main (merged upstream); mirror main re-synced
Pull request closed