The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.
TypeScript budget-trackercollaborativedockeritinerarymcp-serveroffline-firstopen-sourceopenstreetmappacking-listpwareal-timeself-hostedselfhostedtraveltravel-apptravel-journaltravel-plannertripitwanderlog
docs(docker): document outbound proxy configuration
Cynosure159eecde1106162
diff --git a/docker-compose.yml b/docker-compose.ymlindex e59ccbc2a..6709c3d30 100644--- a/docker-compose.yml+++ b/docker-compose.yml@@ -31,6 +31,9 @@ services:# - COOKIE_SECURE=false # Escape hatch: force session cookies over plain HTTP even in production. Not recommended.# - TRUST_PROXY=1 # Trusted proxy count for X-Forwarded-For / X-Forwarded-Proto. Required for FORCE_HTTPS to work.# - ALLOW_INTERNAL_NETWORK=false # Set to true if Immich or other services are hosted on your local network (RFC-1918 IPs). Loopback and link-local addresses remain blocked regardless.+# - HTTP_PROXY=${HTTP_PROXY:-} # Optional. Proxy URL for outbound HTTP requests (e.g. http://192.168.1.10:7890)+# - HTTPS_PROXY=${HTTPS_PROXY:-} # Optional. Proxy URL for outbound HTTPS requests+# - NO_PROXY=${NO_PROXY:-localhost,127.0.0.1} # Optional. Comma-separated hosts and domains that bypass the outbound proxy# - APP_URL=https://trek.example.com # Public base URL — required when OIDC is enabled (must match the redirect URI registered with your IdP); also used as base URL for links in email notifications# - OIDC_ISSUER=https://auth.example.com # OpenID Connect provider URL# - OIDC_CLIENT_ID=trek # OpenID Connect client IDdiff --git a/wiki/Environment-Variables.md b/wiki/Environment-Variables.mdindex 9ff47f98b..e6b47f9aa 100644--- a/wiki/Environment-Variables.md+++ b/wiki/Environment-Variables.md@@ -97,7 +97,23 @@ translations are added to TREK.----## HTTPS / Proxy+## Outbound HTTP(S) Proxy++TREK can route supported outbound HTTP(S) requests through a proxy by setting the standard variables below. Outbound+proxying is disabled by default.++| Variable | Description | Default |+|---------------|---------------------------------------------------------------|---------|+| `HTTP_PROXY` | Proxy URL for outbound HTTP requests | — |+| `HTTPS_PROXY` | Proxy URL for outbound HTTPS requests | — |+| `NO_PROXY` | Comma-separated hosts or domains that should bypass the proxy | — |++> **Note:** Proxy environment variables apply to requests made through Node.js's default HTTP dispatcher. Requests+> handled by TREK's SSRF protection use a dedicated dispatcher and do not use the environment proxy.++---++## HTTPS / Reverse ProxyThese three variables work together behind a TLS-terminating reverse proxy. See [Reverse-Proxy](Reverse-Proxy) for thefull explanation.