Update docker-compose.yml

add DETECT_BASE_URL
pull/19/head
LRVT 2023-11-08 14:45:34 +01:00 zatwierdzone przez GitHub
rodzic 007a36ce60
commit ccbe99269c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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