Conditionally set BASE_URL

This commit is contained in:
Seth For Privacy 2022-09-09 16:33:29 -04:00 committed by GitHub
parent 554b72083a
commit 029f634aff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ services:
- ${APP_PORT}:8080
environment:
- BIND_ADDRESS=0.0.0.0:8080
- BASE_URL=https://`${APP_DOMAIN}/
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}/
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.searxng.rule: Host(`${APP_DOMAIN}`)