π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[docs] update bucket configuration
Keerthana4c31a7bcd6ef
diff --git a/docs/docs/cli/index.md b/docs/docs/cli/index.mdnew file mode 100644index 0000000000..e69de29bb2diff --git a/docs/docs/self-hosting/administration/object-storage.md b/docs/docs/self-hosting/administration/object-storage.mdindex f92d6eae40..15345104c9 100644--- a/docs/docs/self-hosting/administration/object-storage.md+++ b/docs/docs/self-hosting/administration/object-storage.md@@ -63,16 +63,25 @@ It has no relation to Backblaze, Wasabi or Scaleway.Each bucket's endpoint, region, key and secret should be configured accordinglyif using an external bucket.-A sample configuration for `b2-eu-cen` is provided, which can be used for other-2 buckets as well:--```yaml-b2-eu-cen:- key: <key>- secret: <secret>- endpoint: localhost:3200- region: eu-central-2- bucket: b2-eu-cen+If a bucket has SSL support enabled, set `s3.are_local_buckets` to `false`. Enable path-style URL by setting `s3.use_path_style_urls` to `true`.++::: note++You can configure this for individual buckets over defining top-level configuration if you are using the latest server image (August 2025)++:::++A sample configuration for `b2-eu-cen` is provided, which can be used for other 2 buckets as well:++``` yaml+ b2-eu-cen:+ are_local_buckets: true+ use_path_style_urls: true+ key: <key>+ secret: <secret>+ endpoint: localhost:3200+ region: eu-central-2+ bucket: b2-eu-cen```## CORS (Cross-Origin Resource Sharing)diff --git a/docs/docs/self-hosting/installation/config.md b/docs/docs/self-hosting/installation/config.mdindex 7156046c73..a5bc6b3c7d 100644--- a/docs/docs/self-hosting/installation/config.md+++ b/docs/docs/self-hosting/installation/config.md@@ -96,8 +96,8 @@ provide correct credentials for proper connectivity within Museum.The `s3` section within `museum.yaml` is by default configured to use localMinIO buckets when using `quickstart.sh` or Docker Compose.-If you wish to use an external S3 provider, you can edit the configuration with-your provider's credentials, and set `s3.are_local_buckets` to `false`.+If you wish to use an external S3 provider with SSL, you can edit the configuration with+your provider's credentials, and set `s3.are_local_buckets` to `false`. Additionally, you can configure this for specific buckets in the corresponding bucket sections in the Compose file.If you are using default MinIO, it is accessible at port `3200`. Web Console canbe accessed by enabling port `3201` in the Compose file.@@ -111,11 +111,11 @@ and [troubleshooting](/self-hosting/troubleshooting/uploads) sections.| Variable | Description | Default || -------------------------------------- | -------------------------------------------- | ------- |-| `s3.b2-eu-cen` | Primary hot storage S3 config | |+| `s3.b2-eu-cen` | Primary hot storage bucket configuration | || `s3.wasabi-eu-central-2-v3.compliance` | Whether to disable compliance lock on delete | `true` |-| `s3.scw-eu-fr-v3` | Optional secondary S3 config | |-| `s3.wasabi-eu-central-2-derived` | Derived data storage | |-| `s3.are_local_buckets` | Use local MinIO-compatible storage | `false` |+| `s3.scw-eu-fr-v3` | Cold storage bucket configuration | |+| `s3.wasabi-eu-central-2-v3` | Secondary hot storage configuration | |+| `s3.are_local_buckets` | | `true` || `s3.use_path_style_urls` | Enable path-style URLs for MinIO | `false` |### Encryption Keysdiff --git a/server/config/example.yaml b/server/config/example.yamlindex 0fbd2f61b7..156f613d6e 100644--- a/server/config/example.yaml+++ b/server/config/example.yaml@@ -23,12 +23,17 @@ s3:# Only path-style URL works if disabling are_local_buckets with MinIOuse_path_style_urls: trueb2-eu-cen:+ # Uncomment the below configuration to override the top-level configuration+ # are_local_buckets: true+ # use_path_style_urls: truekey: <key>secret: <secret>endpoint: localhost:3200region: eu-central-2bucket: b2-eu-cenwasabi-eu-central-2-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey: <key>secret: <secret>endpoint: localhost:3200@@ -36,6 +41,8 @@ s3:bucket: wasabi-eu-central-2-v3compliance: falsescw-eu-fr-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey: <key>secret: <secret>endpoint: localhost:3200diff --git a/server/configurations/local.yaml b/server/configurations/local.yamlindex 70d7589280..388c1a80a5 100644--- a/server/configurations/local.yaml+++ b/server/configurations/local.yaml@@ -135,12 +135,17 @@ s3:# primary: b2-eu-cen# secondary: wasabi-eu-central-2-v3b2-eu-cen:+ # Uncomment to override top-level bucket configuration for URL addressing and external buckets+ # are_local_buckets: true+ # use_path_style_urls: truekey:secret:endpoint:region:bucket:wasabi-eu-central-2-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey:secret:endpoint:@@ -152,6 +157,8 @@ s3:# Currently this flag is only honoured for the Wasabi v3 bucket.compliance: truescw-eu-fr-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey:secret:endpoint:diff --git a/server/quickstart.sh b/server/quickstart.shindex a656437917..6b042a728b 100755--- a/server/quickstart.sh+++ b/server/quickstart.sh@@ -167,14 +167,23 @@ db:password: $pg_passs3:+ # Top-level configuration for buckets, you can override by specifying these configuration in the desired bucket.+ # Set this to false if using external object storage bucket or bucket with SSLare_local_buckets: true+ # Set this to false if using subdomain-style URL. This is set to true for ensuring compatibility with MinIO when SSL is enabled.+ use_path_style_urls: trueb2-eu-cen:+ # Uncomment the below configuration to override the top-level configuration+ # are_local_buckets: true+ # use_path_style_urls: truekey: $minio_usersecret: $minio_passendpoint: localhost:3200region: eu-central-2bucket: b2-eu-cenwasabi-eu-central-2-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey: $minio_usersecret: $minio_passendpoint: localhost:3200@@ -182,6 +191,8 @@ s3:bucket: wasabi-eu-central-2-v3compliance: falsescw-eu-fr-v3:+ # are_local_buckets: true+ # use_path_style_urls: truekey: $minio_usersecret: $minio_passendpoint: localhost:3200