Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1f0c34cca5 | ||
|
|
855753017f |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
TYPE=custom-html-tiny
|
TYPE=custom-html-tiny
|
||||||
|
|
||||||
DOMAIN={{ .Domain }}
|
DOMAIN=custom-html-tiny.example.com
|
||||||
|
|
||||||
## Domain aliases
|
## Domain aliases
|
||||||
#EXTRA_DOMAINS=', `www.custom-html.example.com`'
|
#EXTRA_DOMAINS=', `www.custom-html.example.com`'
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ services:
|
|||||||
condition: on-failure
|
condition: on-failure
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
- "traefik.swarm.network=proxy"
|
||||||
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=80"
|
||||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
|
||||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||||
|
|||||||
Reference in New Issue
Block a user