feat: support additional domains
This commit is contained in:
parent
0438ab5c03
commit
25d5ae520b
|
@ -1,6 +1,7 @@
|
|||
TYPE=foodsoft
|
||||
|
||||
DOMAIN=order.example.org
|
||||
#EXTRA_DOMAINS=', `www.order.example.com`'
|
||||
LETS_ENCRYPT_ENV=production
|
||||
|
||||
# app settings
|
||||
|
|
|
@ -72,7 +72,7 @@ services:
|
|||
order: start-first
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3000"
|
||||
|
|
Loading…
Reference in New Issue