Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

fix(config): don't ship a default S3_ENDPOINT in .env.example (#735) (#745)

Yudhi Armyndharis4c09cb12990b
diff --git a/.env.example b/.env.example
index 7ca3bb889..f90474988 100644
--- a/.env.example
+++ b/.env.example
@@ -214,7 +214,7 @@ STORAGE_LOCAL_PATH=./data/media
# S3/MinIO settings (if STORAGE_TYPE=s3, auto-configured if MINIO_BUILTIN=true)
# S3_ENDPOINT is OPTIONAL: leave it unset for standard AWS S3 (derived from region); set it only for
# an S3-compatible store (MinIO, R2, …), which also enables path-style addressing.
-S3_ENDPOINT=http://localhost:9000
+# S3_ENDPOINT=http://localhost:9000 # uncomment / set ONLY for an S3-compatible store (MinIO, R2)
S3_BUCKET=openwa
S3_REGION=us-east-1
# MUST set strong, unique values before using S3/MinIO — no defaults shipped.
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d3f54fcab..537a83df3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -33,6 +33,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
`endpoint` and `forcePathStyle` are now applied only when an endpoint is configured, so AWS S3 uses
its default virtual-hosted addressing while MinIO-compatible stores keep path-style.
+- **`.env.example` no longer ships a default `S3_ENDPOINT`.** The template's pre-filled
+ `http://localhost:9000` silently re-routed a copy-paste AWS S3 config to MinIO/path-style mode and the
+ local fallback; it is now commented out so the default is AWS virtual-hosted mode (#735 follow-up).
+
- **WhatsApp Engine selection on the Infrastructure page no longer reverts to the running engine.**
The engine radio was re-stamped from the live `/engines/current` value on every emission, so a late
first resolution (or a window-focus refetch) overwrote an operator's in-progress, unsaved selection