From ccbe99269c70cfe4cb0c197c0e4b37f9f79df14c Mon Sep 17 00:00:00 2001 From: LRVT <21357789+l4rm4nd@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:45:34 +0100 Subject: [PATCH] Update docker-compose.yml add DETECT_BASE_URL --- examples/send/docker-compose.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/send/docker-compose.yml b/examples/send/docker-compose.yml index 0def6222a..aac0328cc 100644 --- a/examples/send/docker-compose.yml +++ b/examples/send/docker-compose.yml @@ -15,7 +15,8 @@ services: #- ./logo.png:/app/dist/mylogo.png:ro # pass custom logo into the container environment: - NODE_ENV=production # default is development - - BASE_URL=https://send.example.com # The HTTPS URL where traffic will be served; protocol handler (http/https) is mandatory + - DETECT_BASE_URL=true + #- BASE_URL=https://send.example.com # optional; if used then protocol handler (http/https) is mandatory - PORT=1234 - REDIS_HOST=redis # For local uploads storage