From 589d1a09c52e1751d977304fb091911ec2f35191 Mon Sep 17 00:00:00 2001 From: Andreas Dinauer Date: Thu, 1 Oct 2026 21:14:41 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Document=20bucket=20bootstrappin?= =?UTF-8?q?g=20via=20ENV?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 24009b4..641bbb4 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,20 @@ You can run your application in dev mode that enables live coding using: > **_NOTE:_** Quarkus now ships with a Dev UI, which is available in dev mode only at . +## Bootstrapping buckets + +Buckets can be created automatically on startup by setting the environment variable `DEV_DINAUER_R9T_INIT_BUCKETS` to a comma-separated list of bucket names: + +```shell script +DEV_DINAUER_R9T_INIT_BUCKETS=invoices,images,backups +``` + +Alternatively the property `dev.dinauer.r9t.init.buckets` can be set in `application.properties`. + +- Buckets that already exist are skipped. +- Bucket names follow the regular naming rules (3-63 characters, lowercase letters, digits, `.` and `-`). An invalid name prevents the application from starting. +- If the variable is not set, no buckets are created. + ## Packaging and running the application The application can be packaged using: