Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(config): correct two knob descriptions added in #1278

Yudhi Armyndharisa3e2309b1558
diff --git a/.env.example b/.env.example
index 03f804586..8282608a4 100644
--- a/.env.example
+++ b/.env.example
@@ -100,11 +100,14 @@ CORS_ORIGINS=*
# TRUSTED_PROXIES=172.18.0.0/16
# Docker daemon endpoint used to manage the built-in datastore containers (POSTGRES_BUILTIN,
-# REDIS_BUILTIN, MINIO_BUILTIN — each in its own section below). Only the tcp://host:port form is
-# parsed; anything else, including a unix:// path, falls back to /var/run/docker.sock. The bundled
-# compose sets this to its own socket-proxy and forwards no value from .env, so setting it here
-# affects a non-compose run only.
-# DOCKER_HOST=tcp://docker-proxy:2375 # set ONLY to reach a remote/proxied daemon; default is the socket
+# REDIS_BUILTIN, MINIO_BUILTIN — each in its own section below). Unset means /var/run/docker.sock.
+# OpenWA itself recognises only the exact tcp://host:port form; every other value is handed to the
+# Docker client, which parses DOCKER_HOST again on its own — unix:// and npipe:// land back on the
+# local socket, but any host-shaped value (https://host:2376, ssh://user@host, tcp://host:2375/path,
+# even an unparseable one) still connects to THAT host. So a typo here is a different daemon, not a
+# fallback. The bundled compose hard-codes its own socket-proxy and forwards no value from .env, so
+# setting this affects a non-compose run only.
+# DOCKER_HOST=tcp://127.0.0.1:2375 # example only — a compose deployment cannot override this
# =============================================================================
# ENGINE CONFIGURATION
@@ -660,7 +663,9 @@ PLUGINS_DIR=./data/plugins # Plugin directory (default: ./data/plugins)
# downgrade (though an http→https→http chain is still refused).
# PLUGIN_DOWNLOAD_ALLOW_INSECURE_REDIRECTS=false
# Catalog the plugin browser reads its list of installable packages from. Point it at your own
-# published catalog to install from a private index instead of the public one.
+# published catalog to install from a private index instead of the public one. The fetch goes through
+# the SSRF guard, so an internal host must also be named in SSRF_ALLOWED_HOSTS or the request is
+# refused — a private index on a non-public address does not work on this key alone.
# PLUGIN_CATALOG_URL=https://raw.githubusercontent.com/rmyndharis/OpenWA-plugins/main/plugins.json
# =============================================================================