back to traefik
This commit is contained in:
parent
9bd9f23d9e
commit
4c2bdef32e
16 changed files with 171 additions and 60 deletions
|
|
@ -21,6 +21,9 @@ services:
|
|||
restart: unless-stopped
|
||||
expose:
|
||||
- 80
|
||||
environment:
|
||||
- VIRTUAL_HOST=${HOST_BLOG}.${DOMAIN}
|
||||
- LETSENCRYPT_HOST=${HOST_BLOG}.${DOMAIN}
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.blog.rule=Host(`${HOST_BLOG}.${DOMAIN}`)
|
||||
- traefik.http.routers.blog.entrypoints=websecure
|
||||
- traefik.http.routers.blog.tls=true
|
||||
- traefik.http.services.blog.loadbalancer.server.port=80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue