Last active
March 31, 2023 07:35
-
-
Save vtml/ddfdd95fe6480358cbe805b73ebe8003 to your computer and use it in GitHub Desktop.
Docker Compose additional Network Aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
labels: | |
- "traefik.http.middlewares.force-STS-Header.headers.forceSTSHeader=true" | |
- "traefik.http.middlewares.force-STS-Header.headers.stsSeconds=31536000" | |
- "traefik.http.routers.cd-secure.entrypoints=websecure" | |
- "traefik.http.routers.cd-secure.rule=Host(`${CD_HOST}`,`${SITE1_CD_HOST}`,`${SITE2_CD_HOST}`)" | |
- "traefik.http.routers.cd-secure.tls=true" | |
- "traefik.http.routers.cd-secure.middlewares=force-STS-Header" | |
networks: | |
default: | |
aliases: | |
- ${SITE1_CD_HOST} | |
- ${SITE2_CD_HOST} | |
- ${CD_HOST} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment