📝 Document bucket bootstrapping via ENV #1

Open
andreas.dinauer wants to merge 1 commits from docs/bucket-bootstrapping into main
+14
View File
@@ -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 <http://localhost:8080/q/dev/>.
## 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: