Update docker-compose.yml

add DETECT_BASE_URL
This commit is contained in:
LRVT 2023-11-08 14:45:34 +01:00 committed by GitHub
parent 007a36ce60
commit ccbe99269c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,8 @@ services:
#- ./logo.png:/app/dist/mylogo.png:ro # pass custom logo into the container #- ./logo.png:/app/dist/mylogo.png:ro # pass custom logo into the container
environment: environment:
- NODE_ENV=production # default is development - 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 - PORT=1234
- REDIS_HOST=redis - REDIS_HOST=redis
# For local uploads storage # For local uploads storage