Conditionally set BASE_URL
This commit is contained in:
parent
554b72083a
commit
029f634aff
|
@ -13,7 +13,7 @@ services:
|
||||||
- ${APP_PORT}:8080
|
- ${APP_PORT}:8080
|
||||||
environment:
|
environment:
|
||||||
- BIND_ADDRESS=0.0.0.0:8080
|
- BIND_ADDRESS=0.0.0.0:8080
|
||||||
- BASE_URL=https://`${APP_DOMAIN}/
|
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}/
|
||||||
labels:
|
labels:
|
||||||
traefik.enable: ${APP_EXPOSED}
|
traefik.enable: ${APP_EXPOSED}
|
||||||
traefik.http.routers.searxng.rule: Host(`${APP_DOMAIN}`)
|
traefik.http.routers.searxng.rule: Host(`${APP_DOMAIN}`)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user