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