Make BASE_URL conditional on exposure
This commit is contained in:
parent
66a17a1051
commit
390effa727
|
@ -15,9 +15,7 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
# Networking
|
# Networking
|
||||||
- VIRTUAL_HOST=${APP_DOMAIN}
|
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
|
||||||
- VIRTUAL_PORT=443
|
|
||||||
- BASE_URL=https://${APP_DOMAIN}
|
|
||||||
# Redis
|
# Redis
|
||||||
- REDIS_HOST=send-redis
|
- REDIS_HOST=send-redis
|
||||||
# Storage Limit
|
# Storage Limit
|
||||||
|
@ -29,6 +27,7 @@ services:
|
||||||
traefik.http.routers.send.service: send
|
traefik.http.routers.send.service: send
|
||||||
traefik.http.routers.send.tls.certresolver: myresolver
|
traefik.http.routers.send.tls.certresolver: myresolver
|
||||||
traefik.http.services.send.loadbalancer.server.port: 1443
|
traefik.http.services.send.loadbalancer.server.port: 1443
|
||||||
|
|
||||||
send-redis:
|
send-redis:
|
||||||
image: redis:alpine
|
image: redis:alpine
|
||||||
container_name: send-redis
|
container_name: send-redis
|
||||||
|
|
Loading…
Reference in New Issue
Block a user